An open API service indexing awesome lists of open source software.

https://github.com/johnufo/dockerize-nodejs

This project demonstrates how to Dockerize a simple Node.js service and deploy it to a remote server using GitHub Actions.
https://github.com/johnufo/dockerize-nodejs

cicd docker dockerfile github-actions js

Last synced: 7 months ago
JSON representation

This project demonstrates how to Dockerize a simple Node.js service and deploy it to a remote server using GitHub Actions.

Awesome Lists containing this project

README

          

# Dockerized Node.js Service Deployment

This project demonstrates how to Dockerize a simple Node.js service and deploy it to a remote server using GitHub Actions.

👉 Project Page: [https://roadmap.sh/projects/dockerized-service-deployment](https://roadmap.sh/projects/dockerized-service-deployment)

## Features

- `/` route returns `Hello, world!`
- `/secret` route protected with Basic Auth, returns secret message

## Running Locally

```bash
git clone https://github.com/JohnUfo/dockerize-nodejs.git
cd dockerize-nodejs
npm install

node index.js