Docker Error #33

Closed
opened 2026-02-04 16:41:09 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @niraj1234567890 on GitHub (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.

Originally created by @niraj1234567890 on GitHub (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.
Author
Owner

@meltyshev commented on GitHub (Oct 2, 2020):

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

@meltyshev commented on GitHub (Oct 2, 2020): Hi! It looks like the node_modules folder also copied to the container. Maybe you missed the .dockerignore file?
Author
Owner

@niraj1234567890 commented on GitHub (Oct 2, 2020):

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

@niraj1234567890 commented on GitHub (Oct 2, 2020): damnn...it was a silly silly mistake. Thanks a lot for saving my time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#33