mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 09:40:23 +00:00
Disable running app as root
This commit is contained in:
@@ -2,7 +2,9 @@ FROM python:3-alpine
|
||||
LABEL org.opencontainers.image.source github.com/akpw/mktxp
|
||||
WORKDIR /mktxp
|
||||
COPY . .
|
||||
RUN pip install ./ && apk add nano
|
||||
RUN pip install ./ && apk add nano
|
||||
EXPOSE 49090
|
||||
RUN addgroup -S mktxp && adduser -S mktxp -G mktxp
|
||||
USER mktxp
|
||||
ENTRYPOINT ["/usr/local/bin/mktxp"]
|
||||
CMD ["export"]
|
||||
|
||||
Reference in New Issue
Block a user