Open yusufali2205 opened 7 years ago
I updated my Dockerfile to first just copy the package.json in the docker image working directory, then run npm install
and after that copy rest of the app folder. Now I'm not having this issue.
FROM node:6.3.0
# Create app directory
RUN mkdir -p /src/app
WORKDIR /src/app
# install all the dependencies
COPY package.json /src/app/
RUN npm install
# bundle app source
COPY . /src/app/
I'm getting this error while installing phantomjs-prebuild v2.1.13 in the docker image on mac. Looks like this issue was reported earlier in version 2.1.9 #581.