Skip to main content
Dash is a popular Python framework for building interactive web applications. This guide shows how to run Dash apps in Domino, without diving into how Dash itself works. If you’re new to Dash or want examples of what’s possible, visit the Dash Gallery or the Dash documentation.

What you’ll do

  • Set up a custom Domino environment that includes Dash
  • Create a project and configure it for app publishing
  • Add and run Dash sample code that works with Domino routing
  • Publish and share your app using the Domino Launchpad interface

Step 1: Set up a compute environment

First, create a Domino compute environment that includes Dash:
  1. In Domino, go to Govern > Environments > Create Environment.
  2. Provide a name and description.
  3. Select the Domino Standard Environment as the base image.
  4. Click Create Environment.
  5. To add Dash, click Edit Definition and append the following lines to the Dockerfile:
  6. Then, click Build and wait for the process to complete.
This sets up a custom environment that supports Dash apps.

Step 2: Create a Project

Now you’ll create a project in Domino to hold your Dash app:
  1. From Domino, go to Develop > Projects > Create Project.
  2. Name your Project and click Create.
  3. In the sidebar, go to Settings > Compute environment and select the environment you just built.
  4. Go to Code > Add File, name the file app.py, and click Save.
Your project is now configured with the correct environment and is ready for app development.

Step 3: Add app code

You’ll now add the Python code for your Dash app. Domino requires a few lines of setup to handle routing correctly, but you can use any Dash app layout or logic you like. This basic app confirms that Dash is working in Domino. It renders a static Plotly chart with no data dependencies or interactivity. To make your Dash app work in Domino, set routing with Domino environment variables and serve the app from 0.0.0.0 on port 8888.
  1. Open the app.py file you created earlier.
  2. Paste in the following code and save the file:

Step 4: Add a startup script

Domino runs your app using a startup script. Create it like this:
  1. In the project sidebar, go to Code > Add File.
  2. Name the file app.sh and add python app.py to the file.
  3. Click Save.
This tells Domino how to launch your app during publishing.

Step 5: Publish and deploy the App

Before Domino 6.3.0, selecting Publish App created and deployed the App in one step. In 6.3.0, the EnableAppsSDLC feature flag is enabled by default and separates the workflow: preview the App in a Workspace, publish a version, then deploy that version.
1

Create the App

On your project’s Deploy > Apps & Agents page, select Create, then App in Workspace. Any workspace you already have open works too. See Create an App.
2

Preview it

In the workspace, open the App Preview tab and set the App file, Compute Environment, and Hardware Tier. Commit your code first, because preview runs the latest committed code. See Develop and test an App.
3

Publish a version

Select Publish App, then Publish as a new App. This records an immutable version and doesn’t start it.
4

Deploy the version

On the App details page, select the version and select Deploy, then set access under Access and sharing. See Publish and deploy App versions and Share an App.
Set Permissions to Anyone in Domino to share the App with every Domino user, and leave Make globally discoverable selected so others can find it. You can change both later. Once the app is Running, click View App to open it in a new tab. This launches your Dash app with a Domino toolbar and shareable link.

Step 6: Share the App

To share your app:
  1. Go to Deployments > Apps & Agents, and click Copy App Link.
  2. Open the link while signed in as a Domino user who isn’t a Project collaborator to test broad access.
  3. Share the URL with collaborators.
  4. To browse other published apps, go to Deploy > Apps in the top nav.
Your Dash app is now hosted, versioned, and accessible in Domino. To explore more app designs or features, visit the Dash Gallery or the Dash documentation. These resources offer a wide range of examples you can experiment with and adapt to your own needs.

Next steps

Last modified on September 3, 2026