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

Fix #76 #243

Merged
merged 1 commit into from
Apr 11, 2022
Merged

Fix #76 #243

merged 1 commit into from
Apr 11, 2022

Conversation

yuuyins
Copy link
Contributor

@yuuyins yuuyins commented Feb 12, 2022

If the user runs that command "from the source code folder", i.e.
getting-started, docker will bind-mount getting-started to the
container's /app, which leads to error
error Couldn't find a package.json file in "/app". It needs to bind
getting-started/app instead.
So, be explicit to the reader to be on the app source's directory
getting-started/app before running the command.

alternative to #241

If the user runs that command "from the source code folder", i.e.
`getting-started`, docker will bind-mount getting-started to the
container's `/app`, which leads to error
`error Couldn't find a package.json file in "/app"`. It needs to bind
`getting-started/app` instead.
So, be explicit to the reader to be on the app source's directory
`getting-started/app` before running the command.
@yuuyins yuuyins mentioned this pull request Feb 12, 2022
Copy link
Member

@StefanScherer StefanScherer left a comment

Choose a reason for hiding this comment

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

Thank you!
LGTM

@StefanScherer StefanScherer merged commit 2dac636 into docker:master Apr 11, 2022
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