mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-28 19:23:11 +01:00
Verify Nginx config at build time
This commit is contained in:
parent
3751e46eed
commit
d638b8f951
@ -47,6 +47,7 @@ EXPOSE 8000/tcp
|
||||
RUN touch /run/nginx.pid && \
|
||||
chown www-data /run/nginx.pid
|
||||
COPY --chown=www-data docker/nginx.conf /etc/nginx/nginx.conf
|
||||
RUN nginx -t
|
||||
|
||||
# Create end user directory
|
||||
RUN mkdir -p /2fauth && \
|
||||
|
Loading…
Reference in New Issue
Block a user