Skip to content

Commit 5958374

Browse files
committed
review
1 parent 340a52e commit 5958374

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
FROM node:22
1+
FROM node:22-alpine
22

33
WORKDIR /app
44

55
COPY package*.json ./
66
COPY . ./
77

8-
RUN npm install copy-webpack-plugin --save-dev && \
9-
npm install -g webpack webpack-cli && \
10-
npm run build
8+
RUN apk add --no-cache git && \
9+
npm install
1110

1211
ENTRYPOINT ["npm", "run", "watch"]

0 commit comments

Comments
 (0)