Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set docker run working directory so npm install works #381

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

deedw
Copy link
Contributor

@deedw deedw commented Oct 26, 2017

npm install fails when deploying or packaging using a docker container because it is not being run in the correct container directory.

Adding the '-w /var/task' option to the docker run command fixes this.

npm install fails when deploying or packaging using a docker container because it is not being run in the correct container directory.

Adding the '-w /var/task' option to the docker run command fixes this.
@DeviaVir DeviaVir merged commit de4e721 into motdotla:master Oct 26, 2017
@DeviaVir DeviaVir mentioned this pull request Dec 11, 2017
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.

2 participants