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

Docker build fails #14

Open
WolfCabo opened this issue Jan 15, 2022 · 1 comment
Open

Docker build fails #14

WolfCabo opened this issue Jan 15, 2022 · 1 comment

Comments

@WolfCabo
Copy link

The docker build fails on the client build part (client/Dockerfile).

COPY client/yarn.lock .
COPY failed: file not found in build context or excluded by .dockerignore: stat client/yarn.lock: file does not exist

After checking there's indeed no yarn.lock file present in the client folder.
No idea if it's needed or not, could you please add the file or remove the copy line from the Dockerfile?

Thanks!

@WolfCabo
Copy link
Author

I've retried it by commenting out the copy client/yarn.lock .
Build works, but seeing quite a bit of messages about outdated packages.

The server container fails to start though:
yarn run v1.22.15,
error Command "start-prod" not found.,
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.,

I can't find anything on start-prod in the package.json though. Not sure how to proceed on this.

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

No branches or pull requests

1 participant