Question

Is it possible to install a node in a python app platform?

Posted March 2, 2021 144 views
Node.jsPythonDigitalOcean App Platform

I have a Python application deployed in the app platform, but I need a javascript runtime, for example a node, can I somehow install it additionally?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

👋🏼 @kshnkvn,

Support for Python + Node.js is coming soon. Currently you would either have to use a Dockerfile, or install Node.js yourself as part of the build command (as non-root) which is not ideal. We’re working on making this available natively so that you wouldn’t need to make any changes to your Python app.

  • This is very good news, thank you.
    I have already republished my app with Dockerfile.
    By the way, it’s very cool that DO itself inserts environment variables into the container and I didn’t have to think about how to insert them.