How can we help you today?

Node.js Quickstart Guide

Dokku uses an open source Node.js buildpack to compile and run your application. Follow these steps to configure and deploy your app.

Preparing Your Application for Deployment

1. Your project root directory should include a package.json so that the Dokku build process recognizes that your code base is a Node.js application. At the minimum, you should specify the desired version of Node.js to ensure production matches your development environment. We recommend that you use an up-to-date LTS version, as these are stable and patched for security flaws.

Deploy your App

Using Docker Natively

Frequently Asked Questions

How do I switch to a different version of the Node.js buildpack?

Periodically, we upgrade Dokku to the latest stable version, which also includes updated references to various buildpacks. However, if you would like to use a newer buildpack version that is not yet present on your server, or a different one altogether, you can run the following command: