-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I ran into an issue where I needed to set unsafe-perm=true when using node:0.12-onbuild but I couldn't get the setting to take using "config": { "unsafe-perm": true } in package.json. It would be nice if .npmrc is also copied over when package.json is copied so we could configure npm before npm install. I know we can always break glass and not use the -onbuild version but it's convenient to use (can write my Dockerfile from memory without having to lookup the base to copy/paste).
So in short, could we change:
ONBUILD COPY package.json /usr/src/app/to:
ONBUILD COPY package.json .npmrc /usr/src/app/Metadata
Metadata
Assignees
Labels
No labels