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