Skip to content

Commit 171a017

Browse files
committed
🐳 fixing docker build to use committed code
1 parent c1ae0a1 commit 171a017

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.dockerignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
cac
3+
out
4+
test
5+
.vscode
6+
.github

docker/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ RUN apt update && apt install -y --no-install-recommends make g++ curl git
66
# Install mwoffliner
77
RUN apt install -y --no-install-recommends imagemagick
88
RUN npm --global config set user root
9-
RUN npm install -g [email protected]
9+
WORKDIR /mwoffliner
10+
COPY package*.json ./
11+
RUN npm install
12+
COPY . .
13+
RUN npm i -g .
1014
RUN apt remove -y make g++
1115

1216
# Boot commands

0 commit comments

Comments
 (0)