Help Center/
ServiceStage/
FAQs/
Application Management/
How Do I Solve the Dependency Problem When a Node Program Runs in Docker?
Updated on 2023-07-14 GMT+08:00
How Do I Solve the Dependency Problem When a Node Program Runs in Docker?
Symptom
A node program depends on node-gyp when running in the microservice docker. How can I install the dependency before the program runs?
Solution
Customize a Dockerfile and add the node-gyp dependency to the Dockerfile.
Parent topic: Application Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot