From 325ee4381f0d6566a8d45a2d479760b1e225d95c Mon Sep 17 00:00:00 2001 From: Marten <43725244+Tiyn@users.noreply.github.com> Date: Sun, 24 May 2020 16:59:39 +0000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cec6106..32bbb81 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,26 @@ -# DockerPythonFlask +# + This is a dockerized version of a Python3 Flask Server. ## Volumes + Set the following volumes with the -v tag. + | Volume-Name | Container mount | Description | | ----------- | --------------- | ------------------------------- | | app | /flask | directory for flask application | ## Ports + Set the following volumes with the -p tag. + | Container-Port | Recommed outside port | Protocol | Description | | -------------- | --------------------- | -------- | ----------- | | 5000 | 80 | TCP | HTTP port | ## Example run-command -``` docker run --name flask -v flask:/flask --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 ` ## Included Python3 packages