diff --git a/Dockerfile b/Dockerfile index d564a3e36..6fe7c6051 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ ### Pull CA Certs FROM --platform=$BUILDPLATFORM alpine:latest as cert-image -RUN apk --update add ca-certificates tini +RUN apk --update add ca-certificates # ---------------------------------------------------------# # Create final image # @@ -85,9 +85,8 @@ ENV GITNESS_TOKEN_COOKIE_NAME=token COPY --from=builder /app/gitness /app/gitness COPY --from=cert-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=cert-image --chmod=700 /sbin/tini /sbin/tini EXPOSE 3000 EXPOSE 3001 -ENTRYPOINT [ "/sbin/tini", "--", "/app/gitness", "server" ] +ENTRYPOINT [ "/app/gitness", "server" ] \ No newline at end of file