mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
docker: fix npm5 installation
This commit is contained in:
parent
2e4f665fa5
commit
318482d3ff
2 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,8 @@
|
|||
FROM node:boron
|
||||
|
||||
# Upgrade NPM to v5
|
||||
RUN npm install -g npm@5
|
||||
# Upgrade NPM to v5 (Yarn is needed because of this bug https://github.com/npm/npm/issues/16807)
|
||||
# The used solution is suggested here https://github.com/npm/npm/issues/16807#issuecomment-313591975
|
||||
RUN yarn global add npm@5
|
||||
# Install global packages
|
||||
RUN npm install -g gulp grunt-cli bower mocha
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
FROM node:boron
|
||||
|
||||
# Upgrade NPM to v5
|
||||
RUN npm install -g npm@5
|
||||
# Upgrade NPM to v5 (Yarn is needed because of this bug https://github.com/npm/npm/issues/16807)
|
||||
# The used solution is suggested here https://github.com/npm/npm/issues/16807#issuecomment-313591975
|
||||
RUN yarn global add npm@5
|
||||
# Install global packages
|
||||
RUN npm install -g gulp grunt-cli bower mocha
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue