diff --git a/Dockerfile b/Dockerfile index 9ed1d54..2b35b4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 - \ No newline at end of file +RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -