Skip to content

Commit 6af2a6b

Browse files
committed
update docker for release 3.0
1 parent 1d9be0b commit 6af2a6b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@ FROM node:20-bullseye
33
RUN mkdir knockapi
44
WORKDIR /knockapi
55

6-
COPY boty/ ./boty
7-
COPY . .
6+
COPY package*.json ./
7+
RUN npm ci
88

99
RUN apt-get update && apt-get install -y g++ make
1010

11-
RUN cd ./boty git pull
12-
RUN cd ./boty \
13-
&& npm i \
14-
&& cd .. \
15-
&& npm i
16-
1711
COPY . .
1812

1913
RUN make install

0 commit comments

Comments
 (0)