Add basic build and run information

This commit is contained in:
Joachim Lusiardi 2016-04-14 07:02:28 +02:00
parent a12d5f541b
commit ef02cc8ab3

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# How to build & run
## build
`docker build --tag=$(basename $PWD) .`
## run in development
`docker run --name rollerverbrauch -ti -v `pwd`/app:/app -p 5000:5000 rollerverbrauch`
## run in production
`docker run --name pitstops -d -v /data/pitstops/:/data -p 80:5000 rollerverbrauch`