Skip to content

Commit d4c07f4

Browse files
fix: upgraded the base image versions
1 parent 034297a commit d4c07f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build environment
2-
FROM node:18.15-alpine as builder
2+
FROM node:18.18.0-alpine3.18 as builder
33
WORKDIR /app
44
COPY . .
55
RUN npm install -g npm@latest && npm install --production=false && \
@@ -10,7 +10,7 @@ RUN npm install -g npm@latest && npm install --production=false && \
1010
npm install
1111

1212
# production environment
13-
FROM node:18.15-alpine
13+
FROM node:18.18.0-alpine3.18
1414
WORKDIR /server
1515
RUN apk update && apk add git
1616
COPY --from=builder /app/dist /server/dist

ui/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# build environment
2-
FROM node:18.15-alpine as builder
2+
FROM node:18.18.0-alpine3.18 as builder
33
WORKDIR /app
44
COPY . .
55
RUN npm install -g npm@latest && npm install --production=false
66
RUN npm run build:production
77

88
# production environment
9-
FROM nginx:1.23.3-alpine
9+
FROM nginx:1.25.2-alpine3.18
1010
COPY --from=builder /app/build /usr/share/nginx/html
1111
COPY --from=builder /app/conf /etc/nginx
1212
EXPOSE 80

0 commit comments

Comments
 (0)