KT-Services Wiki
Changelog
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Menu
Website
Github
Page Index
Docker
Dockerize Nodejs Application From Github
Operating Systems
Windows
Windows context menu switching
Home
Docker
Page Index
Toggle page headings
D
ze Nodejs Application From Github
Overview
1. Create a Deploy Key on GitHub
1.1 Generate SSH Key (no passphrase)
1.2. Add Public Key to GitHub Repo
2. Create a Dockerfile
3. Set up the Deployment Server
3.1 Install Docker (if not installed):
3.2 Copy the Private Deploy Key to the Server
4. Clone the GitHub Repo Using the Deploy Key
5. Build and Run Docker
5.1 Build the Docker Image
5.2 Run the Container
Optional: Automate with a Shell Script
Tips
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9