|
@@ -2,7 +2,7 @@ FROM golang:1.17
|
|
|
|
|
|
ADD ./src /goframe
|
|
ADD ./src /goframe
|
|
WORKDIR /goframe
|
|
WORKDIR /goframe
|
|
-RUN go get -u github.com/valyala/quicktemplate/qtc
|
|
|
|
|
|
+RUN go get -u github.com/valyala/quicktemplate/qtc@v1.6.3
|
|
RUN go mod tidy
|
|
RUN go mod tidy
|
|
RUN go generate ./template
|
|
RUN go generate ./template
|
|
RUN go build -ldflags="-s -w" -o app .
|
|
RUN go build -ldflags="-s -w" -o app .
|