Skip to content

Commit a06aea5

Browse files
committed
fix docker settings
1 parent 81dd854 commit a06aea5

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
npm-debug.log

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM node:18.0.0-alpine as builder
22
WORKDIR /app
33

4-
COPY package.json package-lock.json ./
5-
RUN apk add --no-cache make gcc g++ python3 libtool autoconf automake
4+
COPY package.json package-lock.json .npmrc ./
65
# overrides field on package.json is not allowd npm ci command...
76
RUN npm i && npm update
87

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)