changed Dockerfile
This commit is contained in:
parent
cab6455263
commit
e9a4296db6
@ -15,7 +15,7 @@ RUN go mod download
|
||||
COPY . ./
|
||||
|
||||
# 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.
|
||||
# https://hub.docker.com/_/alpine
|
||||
|
Loading…
Reference in New Issue
Block a user