Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jingjing-jin/docker-test


https://github.com/jingjing-jin/docker-test

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

### Build
```
docker build -t docker_test .
```
### Run app
```sh
docker run -it -p 8080:3001 docker_test
```
### Share stroage with bind mounts
```sh
docker run -it -v ./website:/public -p 8080:3001 docker_test
# mapping local directory './website' from host system to the docker container directory'/public'
```
### Test
```sh
curl http://localhost:8080/ping
```
### Run all: app and db
```sh
docker-compose up
```