changed Dockerfile

This commit is contained in:
Torma Kristóf 2019-10-04 20:04:48 +02:00
parent cab6455263
commit e9a4296db6
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -15,7 +15,7 @@ RUN go mod download
COPY . ./ COPY . ./
# Build the binary. # Build the binary.
RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o server RUN CGO_ENABLED=0 GOOS=linux go build -v -o server
# Use the official Alpine image for a lean production container. # Use the official Alpine image for a lean production container.
# https://hub.docker.com/_/alpine # https://hub.docker.com/_/alpine