Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Set docker run working directory so npm install works#381

Merged
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
deedw:patch-1deedw/node-lambda:patch-1Copy head branch name to clipboard
Oct 26, 2017
Merged

Set docker run working directory so npm install works#381
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
deedw:patch-1deedw/node-lambda:patch-1Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.