mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Remove Nginx duplicate setup block
This commit is contained in:
parent
22d7013406
commit
1e1244a52f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user