adjust permissions in Dockerfile
This commit is contained in:
@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user