Change Dockerfile

This commit is contained in:
2020-10-11 11:58:52 +02:00
parent 8b8df05263
commit d32eb9bd5e

View File

@@ -9,10 +9,10 @@ COPY . .
# Install all the dependencies and build
# Use the online repositories to build the goapi:
RUN go get -d -v ./... && go install -v ./... && go build -tags=jsoniter -o trikotwaschliste
#RUN go get -d -v ./... && go install -v ./... && go build -tags=jsoniter -o trikotwaschliste
#
# Use the vendor folder:
#RUN go build -mod vendor -tags=jsoniter -o trikotwaschliste
RUN go build -mod vendor -tags=jsoniter -o trikotwaschliste
ENV GIN_MODE=release
ENV LOG=*