Bump docker images.
This commit is contained in:
parent
f9785c81c9
commit
85d2f43b57
@ -11,7 +11,7 @@ cache:
|
||||
- node_modules
|
||||
policy: pull
|
||||
|
||||
image: node:15-alpine3.10
|
||||
image: node:alpine
|
||||
|
||||
variables:
|
||||
PROJECT_PATH: "$CI_PROJECT_DIR"
|
||||
|
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user