> For the complete documentation index, see [llms.txt](https://scaleinfinite.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scaleinfinite.gitbook.io/docs/demo-deployment/custom-docker-image/simple-website-with-node.js.md).

# Simple Website with Node.js

### <mark style="color:orange;">Getting started</mark>&#x20;

A simple single page Node.js application.

* The code for the application is uploaded on github.

[Github Link](https://github.com/younesfakallah/catgif2)

* Make sure you have your docker hub account linked to scaleinfinte you can find the process here [Link](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/AMARTYA/OneDrive/Documents/GitHub/scale-infinite.github.io/content/quick_start/my_account)
* Use [Build image](https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/AMARTYA/OneDrive/Documents/GitHub/scale-infinite.github.io/content/quick_start/build_image) page to create a docker image and push into your docker hub account.
* Search the docker image you have created in Create app page.
* Click on the Install button.
* Fill all the required fields.
* &#x20;click on Advanced.
* You will be redirected to My Apps page, Here you can find all the applications you deployed.
* &#x20;Copy the application Hostname without NodePort and search the Url.

### <mark style="color:blue;">Installation</mark>&#x20;

| Docker Image             |
| ------------------------ |
| `<name of docker image>` |

`PROTOCOL`

| HTTP   | TCP/UDP |
| ------ | ------- |
| `3000` |         |

| ENV VARIABLE                                                            | WHITELIST                                       | WORKING DIR                                       |
| ----------------------------------------------------------------------- | ----------------------------------------------- | ------------------------------------------------- |
| <p><code>Give env variable.</code></p><p><code>Eg:key==value</code></p> | `If you want to white list any ports list here` | `WORKDIR for the application. Eg:usr/src/yourAPP` |

### <mark style="color:blue;">Visual snapshots</mark>

<figure><img src="https://459768738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtKO1h8ymGqNtYiKTJ8WZ%2Fuploads%2FOunR3TBnLKzH0wn58CuK%2Fmy-apps.png?alt=media&amp;token=aae81c6a-6084-4026-9e72-82da2125c449" alt=""><figcaption></figcaption></figure>

<div><figure><img src="https://459768738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtKO1h8ymGqNtYiKTJ8WZ%2Fuploads%2FCvdWGrijIXKb0lXXv75D%2Fbuild-image.png?alt=media&amp;token=df10128d-672e-413c-86c7-8c30de13e083" alt=""><figcaption></figcaption></figure> <figure><img src="https://459768738-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtKO1h8ymGqNtYiKTJ8WZ%2Fuploads%2F8jz7CPtGLQAcG32Yyh1p%2Frunning_app.png?alt=media&amp;token=d7e8e2f9-5480-4c17-8c86-44bda1d9609a" alt=""><figcaption></figcaption></figure></div>

&#x20;The Application is running successfully

### <mark style="color:blue;">FAQ</mark>

**Can i install my own node.js Application?**

Absolutely, you can install your own applcation, Make Sure you have proper Docker image created on your dockerhub.

#### [Join us](https://app.slack.com/client/T04QS32JX6E/C04QKEWE146)&#x20;

<details>

<summary>Category</summary>

Kubernetes, cloud computing, DevOps, cloud services, hosting platform, container orchestration, cloud infrastructure, cloud deployment, cloud management, cloud technology, cloud solutions&#x20;

</details>
