backend-and-orchestration-t.../node_server_example/README.md
Mia von Steinkirch f4a26dbadc first commit
2019-03-14 21:31:51 -10:00

44 lines
No EOL
616 B
Markdown
Executable file

# Spinning up a Hello World node server in docker
Build the image:
```
$ make build:
```
Run the container:
```
$ make run
```
docker build -t node_app_test .
Check whether the server worked:
```
$ make curl
```
Check container's status:
```
$ make status
```
#### Other useful commands
Exec inside the container:
```
$ docker exec -i -t <container name from status> /bin/bash
```
Check images in disk:
```
$ docker images
```
## Some References:
* [Dockerfiles good practices](https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#general-guidelines-and-recommendations).