1
0

Add changing the uid and gid in docker through env variables

This commit is contained in:
kolaente
2020-05-22 18:11:20 +02:00
parent 0953400321
commit fa37d5bf59
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,10 @@ COPY run.sh /run.sh
# copy compiled files from stage 1
COPY --from=compile-image /build/dist /usr/share/nginx/html
# Unprivileged user
ENV PUID 1000
ENV PGID 1000
LABEL maintainer="maintainers@vikunja.io"
CMD "/run.sh"