Skip to content

Commit

Permalink
fix: added --network-concurrency to yarn install script
Browse files Browse the repository at this point in the history
  • Loading branch information
cleitonper committed Jan 1, 2019
1 parent 8f9b486 commit ec11b53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -15,7 +15,8 @@ RUN npm config set scripts-prepend-node-path true
RUN yarn global add pm2@latest

# Install project dependencies
RUN npm install
# See yarn issue #6312
RUN yarn install --network-concurrency 1

# Set 8000 as container port
EXPOSE 8000
Expand Down

1 comment on commit ec11b53

@cleitonper
Copy link
Owner Author

Choose a reason for hiding this comment

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

This change fix the yarn issue #6312.

Please sign in to comment.