Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
will removing the COPY .npmrc fix the auth issue on build?
Browse files Browse the repository at this point in the history
  • Loading branch information
blumysden committed Jan 23, 2020
1 parent 331461c commit 44f2458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN apt-get -o Acquire::Check-Valid-Until=false update -y && apt-get upgrade -y && \
apt-get install -y nodejs npm libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev libpng-dev build-essential g++ ffmpeg
COPY package.json* yarn.lock* .npmrc* /usr/src/app/
COPY package.json* /usr/src/app/
RUN npm install --production

COPY ./ /usr/src/app/
Expand Down

0 comments on commit 44f2458

Please sign in to comment.