File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# build environment
2
- FROM node:18.15-alpine as builder
2
+ FROM node:18.18.0-alpine3.18 as builder
3
3
WORKDIR /app
4
4
COPY . .
5
5
RUN npm install -g npm@latest && npm install --production=false && \
@@ -10,7 +10,7 @@ RUN npm install -g npm@latest && npm install --production=false && \
10
10
npm install
11
11
12
12
# production environment
13
- FROM node:18.15-alpine
13
+ FROM node:18.18.0-alpine3.18
14
14
WORKDIR /server
15
15
RUN apk update && apk add git
16
16
COPY --from=builder /app/dist /server/dist
Original file line number Diff line number Diff line change 1
1
# build environment
2
- FROM node:18.15-alpine as builder
2
+ FROM node:18.18.0-alpine3.18 as builder
3
3
WORKDIR /app
4
4
COPY . .
5
5
RUN npm install -g npm@latest && npm install --production=false
6
6
RUN npm run build:production
7
7
8
8
# production environment
9
- FROM nginx:1.23.3-alpine
9
+ FROM nginx:1.25.2-alpine3.18
10
10
COPY --from=builder /app/build /usr/share/nginx/html
11
11
COPY --from=builder /app/conf /etc/nginx
12
12
EXPOSE 80
You can’t perform that action at this time.
0 commit comments