Skip to content

Commit

Permalink
fix docker settings
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed May 1, 2022
1 parent 81dd854 commit a06aea5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM node:18.0.0-alpine as builder
WORKDIR /app

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

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a06aea5

Please sign in to comment.