Skip to content

Commit

Permalink
Fixed Symfony local server termination in development Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Jan 17, 2025
1 parent 710502a commit 56b4a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN --mount=type=cache,target=.composer composer install
RUN echo '/wait && mkdir -p var/cache var/log && supercronic /etc/crontabs/www-data & \
/usr/local/bin/php bin/console doctrine:database:create --no-interaction --if-not-exists && \
/usr/local/bin/php bin/console doctrine:schema:update --complete --force && \
/usr/local/bin/php bin/console app:udp-server 127.0.0.1:8443 & \
npm run watch & symfony server:start --allow-all-ip' > docker/entrypoint.sh && chmod +x docker/entrypoint.sh
/usr/local/bin/php bin/console app:udp-server 127.0.0.1:8443 & npm run watch & \
symfony server:stop && symfony server:start --allow-all-ip' > docker/entrypoint.sh && chmod +x docker/entrypoint.sh

CMD ["docker/entrypoint.sh"]

0 comments on commit 56b4a5c

Please sign in to comment.