Change user to application to allow permission on files

master
Chewbaka 2 years ago committed by GitHub
parent 488467a2bd
commit 4fccf772f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,7 @@
FROM webdevops/php-nginx:7.4-alpine
USER application
WORKDIR /app
COPY ./ /app
@ -13,4 +15,4 @@ RUN (crontab -l ; echo "*/2 * * * * /usr/local/bin/p
RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab -
RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab -
RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -
RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -
RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -

Loading…
Cancel
Save