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.

Application Management FAQs

more