fix executable directory owner/group

This commit is contained in:
Reese Norris
2024-10-22 13:34:39 -07:00
parent 1eaf1aae1c
commit c541fb382c

View File

@@ -29,6 +29,8 @@ FROM gcr.io/distroless/static-debian12
WORKDIR /app
COPY --from=build --chown=nonroot:nonroot /go/src/openfsd/openfsd /app
RUN chown -R nonroot:nonroot /go/src/openfsd
USER nonroot:nonroot
ENTRYPOINT ["/app/openfsd"]