From 2267de34bff92d81124d06361f2b0338bef57081 Mon Sep 17 00:00:00 2001 From: ihiverlet <94982379+ihiverlet@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:51:25 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]