Skip to content

Commit 6b6ad24

Browse files
committed
dockerfile
1 parent cbd254e commit 6b6ad24

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CODE_OF_CONDUCT.md
2+
Dockerfile
3+
LICENSE
4+
tools

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
FROM node:22
22

3-
WORKDIR /usr/src/app
3+
WORKDIR /app
44

55
COPY package*.json ./
6+
COPY config/ ./
7+
COPY src/ ./
68
COPY . ./
79

8-
RUN npm install
10+
RUN npm install copy-webpack-plugin --save-dev && \
11+
npm install -g webpack webpack-cli && \
12+
npm run build
913

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

0 commit comments

Comments
 (0)