Skip to content

Commit 63bdc1b

Browse files
authored
Merge pull request pterodactyl#2249 from JanDevDE/patch-2
Fix schedules in Dockerfile
2 parents 1e735cf + b5713ff commit 63bdc1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ RUN cp docker/default.conf /etc/nginx/conf.d/default.conf \
2525
&& cat docker/www.conf > /usr/local/etc/php-fpm.d/www.conf \
2626
&& rm /usr/local/etc/php-fpm.d/www.conf.default \
2727
&& cat docker/supervisord.conf > /etc/supervisord.conf \
28-
&& echo "* * * * * /usr/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
28+
&& echo "* * * * * /usr/local/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
2929
&& sed -i s/ssl_session_cache/#ssl_session_cache/g /etc/nginx/nginx.conf \
3030
&& mkdir -p /var/run/php /var/run/nginx
3131

3232
EXPOSE 80 443
3333

3434
ENTRYPOINT ["/bin/ash", "docker/entrypoint.sh"]
3535

36-
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]
36+
CMD [ "supervisord", "-n", "-c", "/etc/supervisord.conf" ]

0 commit comments

Comments
 (0)