adjust permissions in Dockerfile

This commit is contained in:
2021-02-22 19:15:38 +01:00
parent 4b8c62ab94
commit 226c8866a3
3 changed files with 9 additions and 4 deletions

View File

@ -28,6 +28,11 @@ COPY crontab /etc/
COPY *.py ${APP_DIR}/
COPY *.tmpl ${APP_DIR}/
RUN \
chmod 644 /etc/crontab && \
chmod 755 ${APP_DIR}/*.py && \
chmod 644 ${APP_DIR}/*.tmpl
# USER 1000:1000
WORKDIR ${APP_DIR}