From c33e2e48095a46fb7199b5ef573ef44ceced9a96 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Fri, 8 May 2020 21:11:20 +0000 Subject: [PATCH 1/4] adding more bloat --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 2b03228..97be76c 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update RUN apt-get install python3 python3-pip -y -RUN pip3 install flask flask-wtf flask-mail +RUN pip3 install flask flask-wtf flask-mail markdown pygments random WORKDIR /flask From 9f02fece25dda5456e508a564a896d31ec781b3b Mon Sep 17 00:00:00 2001 From: TiynGER Date: Fri, 8 May 2020 21:17:43 +0000 Subject: [PATCH 2/4] random removed, in standard lib --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 97be76c..880de98 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update RUN apt-get install python3 python3-pip -y -RUN pip3 install flask flask-wtf flask-mail markdown pygments random +RUN pip3 install flask flask-wtf flask-mail markdown pygments WORKDIR /flask From 8c40679e39e78d70648b1b072cc28e7cfbbde90f Mon Sep 17 00:00:00 2001 From: Marten <43725244+Tiyn@users.noreply.github.com> Date: Fri, 15 May 2020 17:28:20 +0200 Subject: [PATCH 3/4] Update Dockerfile --- src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dockerfile b/src/Dockerfile index 880de98..fd5d5fe 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update RUN apt-get install python3 python3-pip -y -RUN pip3 install flask flask-wtf flask-mail markdown pygments +RUN pip3 install flask flask-wtf flask-mail markdown pygments email-validator WORKDIR /flask 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 4/4] 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