|
|
|
@ -12,7 +12,7 @@ Set the following volumes with the -v tag. |
|
|
|
|
|
|
|
| Volume-Name | Container mount | Description | |
|
|
|
| ----------- | --------------- | ----------- | |
|
|
|
| app | /flask/app | directory for flask application | |
|
|
|
| app | /flask | directory for flask application | |
|
|
|
|
|
|
|
## Ports |
|
|
|
|
|
|
|
@ -24,4 +24,4 @@ Set the following volumes with the -p tag. |
|
|
|
|
|
|
|
## Example run-command |
|
|
|
|
|
|
|
``` docker run --name flask -v flask:/flask/app --restart unless-stopped -d -p 80:5000 tiynger/pythonflask ``` |
|
|
|
``` docker run --name flask -v flask:/flask --restart unless-stopped -d -p 80:5000 tiynger/pythonflask ``` |