From 007ee91e3f97feb40959a16d8374fc34115c90e5 Mon Sep 17 00:00:00 2001 From: Csadam2001 Date: Thu, 6 Oct 2022 15:14:45 +0200 Subject: [PATCH 1/2] Dockerfile added --- flask-app/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 flask-app/Dockerfile diff --git a/flask-app/Dockerfile b/flask-app/Dockerfile new file mode 100644 index 00000000..a1c0bc5b --- /dev/null +++ b/flask-app/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.8 + +WORKDIR /usr/src/app + +COPY . . + +RUN pip install --no-cache -r ./requirements.txt + +EXPOSE 5000 + +CMD ["python", "./app.py"] From 4213c72928bcb0c6831477804b069d8cd503aa44 Mon Sep 17 00:00:00 2001 From: Csadam2001 Date: Thu, 6 Oct 2022 15:24:27 +0200 Subject: [PATCH 2/2] Dockerfile moved --- flask-app/Csadam/Dockrfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 flask-app/Csadam/Dockrfile diff --git a/flask-app/Csadam/Dockrfile b/flask-app/Csadam/Dockrfile new file mode 100644 index 00000000..a1c0bc5b --- /dev/null +++ b/flask-app/Csadam/Dockrfile @@ -0,0 +1,11 @@ +FROM python:3.8 + +WORKDIR /usr/src/app + +COPY . . + +RUN pip install --no-cache -r ./requirements.txt + +EXPOSE 5000 + +CMD ["python", "./app.py"]