From 770811d2a91347feb2093d1d43cafcb28eaa7f51 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Sat, 3 Aug 2024 17:34:18 +0200 Subject: [PATCH] update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 65ce2a4..d60ac70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,11 @@ EXPOSE 80 ENTRYPOINT ["sh"] -FROM dev as build +FROM dev AS build RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes ca-certificates make git RUN go mod download && go mod verify RUN make build -RUN chmod +x forgejo-release-proxy FROM gcr.io/distroless/static-debian12 AS prod