diff --git a/Dockerfile b/Dockerfile index 7bd0312..5b74a08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /onyxia-api FROM alpine EXPOSE 8080 -ENV GIN_MODE release +ENV GIN_MODE=release COPY --from=0 /onyxia-api /bin/onyxia-api CMD ["/bin/onyxia-api"]