Skip to content

Commit

Permalink
Merge pull request #307 from hackforla/dockerFix
Browse files Browse the repository at this point in the history
Docker fix
  • Loading branch information
sellnat77 authored Feb 27, 2020
2 parents 40da08a + fc7b178 commit 5490c6c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM node:12.2.0-alpine
RUN npm install webpack webpack-cli -g
FROM node:12.16.1-alpine
RUN npm config set unsafe-perm true
RUN npm install --silent webpack webpack-cli -g
WORKDIR /tmp
COPY package.json /tmp/
RUN npm config set registry http://registry.npmjs.org/ && npm install
RUN npm config set registry http://registry.npmjs.org/ && npm install --silent
WORKDIR /usr/src/app
COPY . /usr/src/app/
RUN cp -a /tmp/node_modules /usr/src/app/
Expand Down

0 comments on commit 5490c6c

Please sign in to comment.