https://github.com/bobbyiliev/sample-nodejs-docker
https://github.com/bobbyiliev/sample-nodejs-docker
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bobbyiliev/sample-nodejs-docker
- Owner: bobbyiliev
- Created: 2024-02-07T15:31:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-07T15:45:02.000Z (over 1 year ago)
- Last Synced: 2025-01-23T10:13:19.638Z (9 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Dockerized Node.js app
Build command:
```sh
docker build --build-arg BUILD_VAR1=value1 --build_arg BUILD_VAR2=value2 -t simple-node-app .
```Run command:
```sh
docker run -d -p 3000:3000 -e RUN_SECRET1=secretValue1 -e RUN_SECRET2=secretValue2 simple-node-app
```