> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For autonomous tasks, use live SaladCloud API responses for current state, availability, quotas, models, and other dynamic values. Use current OpenAPI specifications where provided for paths, schemas, required fields, and enums. Never invent endpoints, fields, prices, availability, quotas, models, or state. Prefer API workflows over Portal steps. Read before changing and never expose credentials, signed media URLs, prompts, or sensitive outputs. Retry only safe or idempotent operations with bounded backoff, honoring Retry-After. Verify every write with a read. Stop rather than repeat an uncertain non-idempotent or billable request. AI Gateway uses an organization-specific Bearer key and live /v1/models discovery. Do not delete, cancel, stop, or reduce capacity without explicit user intent. Bind shared operation IDs to the selected product path. Treat Container Engine instances as interruptible and local state as ephemeral. Install the SaladCloud skills (npx skills add https://docs.salad.com), start from the salad skill and /agents/overview; docs MCP: https://docs.salad.com/mcp.

# How to deploy a Node App on SaladCloud

*Last Updated: October 30, 2024*

In this guide, we will build a simple Node.js application, an image, and a container using the image then expose the
local host using Cloud flare “Cloudflared” tunnels with free Cloudflare tunnels and deploy on
[Salad Container Engine (SCE)](https://docs.salad.com/container-engine/explanation/core-concepts/overview.md)

## **Prerequisites**

* A Node.js app that you have developed and tested locally
* A [Salad Container Engine(SCE) account](https://docs.salad.com/general/tutorials/account-setup.md)
* Git installed on your local machine

## **How to dockerize a Node.js application**

Before we begin, let’s be sure \*\* [Docker](https://docs.docker.com/engine/install/) \*\* and
**[Node.js](https://nodejs.org/en/download/package-manager/)** is installed on our system.

If Docker is not, you can use the links below to download it based on your chosen Operating System (OS) :

* **[Windows](https://docs.docker.com/docker-for-windows/install/)**
* **[Mac OS](https://docs.docker.com/desktop/install/mac-install/)**
* **[Ubuntu](https://docs.docker.com/engine/installation/linux/ubuntu/)**

To confirm if your **Node.js** has successfully been installed in your machine, open your (CLI tool) command prompt or
desired terminal and type this command. This will display the version of the installed **`Nodejs`**

**`node -v`**

![](https://files.readme.io/1a2fd60-V.PNG "This displays the Nodejs version")


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.