bump nginx to 1.16.1

This commit is contained in:
t3chn0m4g3 2019-08-28 14:09:16 +00:00
parent 2132f80988
commit 670dddfea0

View file

@ -1,13 +1,13 @@
FROM alpine
#
# Include dist
ADD dist/ /root/dist/
#
# Get and install dependencies & packages
RUN apk -U --no-cache add \
nginx \
nginx-mod-http-headers-more && \
#
# Setup configs
mkdir -p /run/nginx && \
rm -rf /etc/nginx/conf.d/* /usr/share/nginx/html/* && \
@ -15,10 +15,10 @@ RUN apk -U --no-cache add \
cp -R /root/dist/conf/ssl /etc/nginx/ && \
cp /root/dist/conf/tpotweb.conf /etc/nginx/conf.d/ && \
cp -R /root/dist/html/ /var/lib/nginx/ && \
#
# Clean up
rm -rf /root/* && \
rm -rf /var/cache/apk/*
#
# Start nginx
CMD exec nginx -g 'daemon off;'