Pin version of nginx in dockerfile

This commit is contained in:
Matthias 2020-12-11 06:59:48 +01:00
parent a600a07edd
commit ae0fbb380f

View File

@ -16,7 +16,7 @@ RUN yarn global add @vue/cli
COPY . /app COPY . /app
RUN yarn build RUN yarn build
FROM nginx:alpine FROM nginx:1.19.4-alpine
COPY --from=ui-builder /app/dist /etc/nginx/html COPY --from=ui-builder /app/dist /etc/nginx/html
COPY --from=ui-builder /app/nginx.conf /etc/nginx/nginx.conf COPY --from=ui-builder /app/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80 EXPOSE 80