File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Use this Dockerfile for production builds
2
2
# Use node image to install Vue dependencies
3
- FROM node:14.2 as vue-dependencies
3
+ FROM node:16 as vue-dependencies
4
4
5
5
# Set the working directory for the project in container
6
6
WORKDIR /app
Original file line number Diff line number Diff line change 1
1
# Base image node to install Vue dependencies
2
- FROM node:14.2 AS build-stage
2
+ FROM node:16-alpine AS build-stage
3
3
4
4
WORKDIR /app
5
5
@@ -12,4 +12,3 @@ COPY . .
12
12
RUN yarn build
13
13
RUN npm install -g serve
14
14
ENTRYPOINT serve -s dist
15
-
Original file line number Diff line number Diff line change 1
1
# Base image node to install Vue dependencies
2
- FROM node:14.2 AS build-stage
2
+ FROM node:16-alpine AS build-stage
3
3
4
4
WORKDIR /app
5
5
@@ -9,4 +9,4 @@ RUN yarn install
9
9
10
10
# Build dependencies into dist folder, copy line may change as we restructure
11
11
COPY . .
12
- ENTRYPOINT yarn serve
12
+ ENTRYPOINT yarn serve
You can’t perform that action at this time.
0 commit comments