Used strict version number for nginx base image

This commit is contained in:
Alejandro Celaya 2019-11-21 07:52:50 +01:00 committed by GitHub
parent fe2d394831
commit fb25e44b58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ FROM node:12.11.1-alpine as node
COPY . /shlink-web-client
RUN cd /shlink-web-client && npm install && npm run build
FROM nginx:1.17-alpine
FROM nginx:1.17.5-alpine
LABEL maintainer="Alejandro Celaya <alejandro@alejandrocelaya.com>"
RUN rm -r /usr/share/nginx/html && rm /etc/nginx/conf.d/default.conf
COPY config/docker/nginx.conf /etc/nginx/conf.d/default.conf