Use numeric UID in Alpine Docker image

Same as PR #2332
This commit is contained in:
Frédéric Guillot 2024-02-05 20:20:52 -08:00
parent 39368ece9a
commit aa30c35e7e

View file

@ -22,5 +22,5 @@ EXPOSE 8080
ENV LISTEN_ADDR 0.0.0.0:8080
RUN apk --no-cache add ca-certificates tzdata
COPY --from=build /go/src/app/miniflux /usr/bin/miniflux
USER nobody
USER 65534
CMD ["/usr/bin/miniflux"]