Skip to content

Commit f165227

Browse files
feat: docker base image from node to node-alpine
1 parent f832e3f commit f165227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nest-dockerfile/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
# build stage
20-
FROM node:18 as build-stage
20+
FROM node:18.0-alpine3.14 as build-stage
2121

2222
WORKDIR /app
2323

@@ -30,7 +30,7 @@ COPY . .
3030
RUN npm run build
3131

3232
# production stage
33-
FROM node:18 as production-stage
33+
FROM node:18.0-alpine3.14 as production-stage
3434

3535
COPY --from=build-stage /app/dist /app
3636
COPY --from=build-stage /app/package.json /app/package.json

0 commit comments

Comments
 (0)