Skip to content

Commit

Permalink
chore: use startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
flemming-pr committed Aug 16, 2023
1 parent 0cb0b91 commit 0a15ef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ RUN npm run build
RUN rm -rf node_modules

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

EXPOSE 9000

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

0 comments on commit 0a15ef5

Please sign in to comment.