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 Error #40

Closed
niraj1234567890 opened this issue Oct 1, 2020 · 2 comments
Closed

Docker Error #40

niraj1234567890 opened this issue Oct 1, 2020 · 2 comments

Comments

@niraj1234567890
Copy link

niraj1234567890 commented Oct 1, 2020

getting below error while I am trying to run only backend database service with the help of docker-compose.yml.
I have made few necessary changes to the Dockerfile to remove commands related to the front end.

'darwin-x64' binaries cannot be used on the 'linuxmusl-x64' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linuxmusl-x64' platform.

Thanks in advance.

@meltyshev
Copy link
Member

Hi! It looks like the node_modules folder also copied to the container. Maybe you missed the .dockerignore file?

@niraj1234567890
Copy link
Author

damnn...it was a silly silly mistake.
Thanks a lot for saving my time.

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

2 participants