Bump docker images.

This commit is contained in:
Spencer Ofwiti 2020-12-28 14:43:53 +03:00
parent f9785c81c9
commit 85d2f43b57
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ cache:
- node_modules
policy: pull
image: node:15-alpine3.10
image: node:alpine
variables:
PROJECT_PATH: "$CI_PROJECT_DIR"

View File

@ -1,6 +1,6 @@
### STAGE 1: Build ###
# defining version of the base image
FROM node:15.1.0-alpine as build
FROM node:alpine as build
# defining work directory
WORKDIR /app
@ -18,7 +18,7 @@ RUN npm run build --prod
### STAGE 2: Setup ###
# defining nginx image version
FROM nginx:1.19.4-alpine
FROM nginx:alpine
## Remove default nginx website
RUN rm -rf /usr/share/nginx/html/*