10 lines
287 B
Markdown
10 lines
287 B
Markdown
|
# 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`
|