use nginx instead of symfony serve
This commit is contained in:
parent
79b24c7536
commit
c07d259e4f
@ -31,7 +31,7 @@ FROM base as production
|
||||
RUN apt-get update && apt-get install -y nginx
|
||||
|
||||
# Copy application files
|
||||
COPY . /var/www/html
|
||||
COPY . .
|
||||
|
||||
# Install dependencies
|
||||
RUN composer install --no-interaction --optimize-autoloader --no-dev
|
||||
|
||||
@ -11,8 +11,6 @@ services:
|
||||
- APP_DEBUG=0
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- ./:/var/www/html/
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user