fix: passes nginx config into app container
This commit is contained in:
@@ -27,7 +27,6 @@ services:
|
||||
- "8001:80"
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
- ./bash/nginx.conf:/etc/nginx/conf.d/site.conf
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -10,6 +10,7 @@ USER nobody
|
||||
|
||||
COPY --chown=nobody:nobody . /var/www
|
||||
COPY --chmod=0775 ./bash/entrypoint.sh /usr/local/bin/
|
||||
COPY --chmod=0755 ./bash/nginx.conf /etc/nginx/conf.d/site.conf
|
||||
|
||||
HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD [ "php", "/var/www/bin/console", "startup:status" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user