Remove Nginx duplicate setup block

This commit is contained in:
Quentin McGaw (desktop) 2021-07-31 13:24:57 -04:00 committed by Quentin McGaw (laptop)
parent 22d7013406
commit 1e1244a52f

View File

@ -85,12 +85,6 @@ RUN composer install --prefer-dist --no-scripts --no-dev --no-autoloader && \
COPY --chown=www-data . .
RUN composer dump-autoload --no-scripts --no-dev --optimize
# Nginx
EXPOSE 8000/tcp
COPY --chown=www-data docker/nginx.conf /etc/nginx/nginx.conf
RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log
# Entrypoint
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
COPY --chown=www-data docker/entrypoint.sh /usr/local/bin/entrypoint.sh