Fix upload / release mode build
This commit is contained in:
@@ -10,6 +10,7 @@ RUN go mod download
|
||||
COPY src/ .
|
||||
|
||||
ENV CGO_ENABLED=1
|
||||
ENV GIN_MODE=release
|
||||
RUN go build -o server .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
Reference in New Issue
Block a user