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
|
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
|
||||||
|
|||||||
@ -11,8 +11,6 @@ services:
|
|||||||
- APP_DEBUG=0
|
- APP_DEBUG=0
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
|
||||||
- ./:/var/www/html/
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user