use nginx instead of symfony serve

This commit is contained in:
Tim Lappe 2025-04-13 16:36:13 +02:00
parent d0db43610b
commit 79b24c7536
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@ FROM base as production
RUN apt-get update && apt-get install -y nginx
# Copy application files
COPY . .
COPY . /var/www/html
# Install dependencies
RUN composer install --no-interaction --optimize-autoloader --no-dev

View File

@ -11,6 +11,8 @@ services:
- APP_DEBUG=0
networks:
- proxy
volumes:
- ./:/var/www/html/
networks:
proxy: