Skip to content

Updated docker file for supported node versions, npm and latest release. - #172

Open
devilankur18 wants to merge 1 commit into
luminati-io:masterfrom
devilankur18:master
Open

Updated docker file for supported node versions, npm and latest release.#172
devilankur18 wants to merge 1 commit into
luminati-io:masterfrom
devilankur18:master

Conversation

@devilankur18

Copy link
Copy Markdown

No description provided.

Comment thread Dockerfile
USER node
RUN mkdir /home/node/.npm-global
ENV PATH=/home/node/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain why do you need to set user node and do anything with .npm-global dir?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got some permission errors when trying to build the docker image in the master version.
These changes (lines 10 to 13) made by @devilankur18 fixed the problem for me.

@eljokerrr444 eljokerrr444 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants