Update Dockerfile
This commit is contained in:
parent
4fc2696999
commit
965ac25278
1 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ RUN echo "# Docker Cron Jobs" > /var/crontab \
|
|||
&& echo "" >> /var/crontab \
|
||||
&& chown nobody:nobody /var/crontab
|
||||
|
||||
COPY --chown=nobody --chmod=0755 cron_create.sh /docker-entrypoint-init.d/00-cron_create.sh
|
||||
COPY cron_create.sh /docker-entrypoint-init.d/00-cron_create.sh
|
||||
|
||||
RUN chmod +x /docker-entrypoint-init.d/00-cron_create.sh
|
||||
|
||||
USER nobody
|
||||
|
|
Loading…
Add table
Reference in a new issue