Skip to content

Commit

Permalink
chore: remove crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
flemming-pr committed Aug 16, 2023
1 parent 3afe693 commit 70c595e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ RUN rm -rf node_modules

RUN chmod +x /var/www/html/docker/entrypoint.sh

RUN echo "* * * * * cd /var/www/html && php artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root

EXPOSE 9000

ENTRYPOINT ["bash", "/var/www/html/docker/entrypoint.sh"]
CMD crond && php artisan serve --host=0.0.0.0 --port=9000 && php artisan queue:work --tries=3
CMD php artisan serve --host=0.0.0.0 --port=9000 && php artisan queue:work --tries=3

0 comments on commit 70c595e

Please sign in to comment.