[Docker] npm/yarn uws package download error from github #608
Unanswered
vimalmistry
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Please provide example of your Try this:
{
"dependencies": {
"uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/v19.5.0.tar.gz"
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to make a docker container build using my existing project which is uwebsocket.js with mongo and Redis.
here is my Dockerfile
When I use npm its give me
And Using yarn.
This is my first time using docker. I don't know much about it.
Also, I have a question. how to implement worker threads in docker. If I spin up multiple containers using docker-compose.yml. Then I think the node worker thread will not works.
If anyone created successfully docker-compose and dockerfile can guide me.
Here is docker-compose.yml. It is working fine with the express and koa apps.
Beta Was this translation helpful? Give feedback.
All reactions