Skip to content

Commit 17cc4d8

Browse files
Update Dockerfile
1 parent 5fa61a3 commit 17cc4d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM node:20-alpine AS build
1+
FROM node:22.18.0-alpine3.22 AS build
22
WORKDIR /app
33
COPY . .
4-
RUN yarn install
5-
RUN yarn build
4+
RUN npm install
5+
RUN npm build
66

77
FROM nginx:1.24-alpine
88
COPY --from=build /app/dist /usr/share/nginx/html

0 commit comments

Comments
 (0)