use nginx instead of symfony serve

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

View File

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

View File

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