https://github.com/markmachine/docker-node
basic docker container using node and express
https://github.com/markmachine/docker-node
docker-container docker-node
Last synced: 2 months ago
JSON representation
basic docker container using node and express
- Host: GitHub
- URL: https://github.com/markmachine/docker-node
- Owner: markmachine
- License: gpl-3.0
- Created: 2017-09-04T20:16:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T09:44:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-07T21:09:43.631Z (12 months ago)
- Topics: docker-container, docker-node
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-node basic container
This module steps through the basic process for creating a Docker container based on NodeJs.
* [build](#build)
* [run](#run)
* [push](#push)
* [pull](#pull)
## build
```console
docker build -f Dockerfile -t markhughes/docker-node .
```
## run
```console
docker run -d -p 8080:3000 markhughes/docker-node
```
## push
```console
docker push markhughes/docker-node
```
## pull
```console
docker pull markhughes/docker-node
```
## Sources
image on [dockerhub](https://hub.docker.com/r/markhughes/docker-node/)
src on [github](https://github.com/markmachine/docker-node)