don't change workdir and don't chown

This commit is contained in:
kjeld Schouten-Lebbing 2021-04-17 20:41:08 +02:00
parent 79c62eb94e
commit 7e067ba318
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 1 additions and 2 deletions

View File

@ -49,11 +49,10 @@ RUN \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/ \ /var/tmp/ \
&& chmod -R u=rwX,go=rX /app \ && chmod -R u=rwX,go=rX /app \
&& chown -R apps:apps /app \
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \ && printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
&& update-ca-certificates && update-ca-certificates
WORKDIR /app
USER apps USER apps
EXPOSE 17442 EXPOSE 17442