From b6a06ce5431b406dd4dde6459eadcf15aee5ec1a Mon Sep 17 00:00:00 2001 From: Adrien-Ba <45963338+Adrien-Ba@users.noreply.github.com> Date: Mon, 4 Oct 2021 11:09:35 +0200 Subject: [PATCH] Update Dockerfile --- 1_dockerfile/python/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/1_dockerfile/python/Dockerfile b/1_dockerfile/python/Dockerfile index e69de29..d745dc7 100644 --- a/1_dockerfile/python/Dockerfile +++ b/1_dockerfile/python/Dockerfile @@ -0,0 +1,9 @@ +FROM python:2.7 + +COPY requirements.txt /usr/app/requirements.txt +COPY app.py /usr/app/app.py + +RUN pip install -r /usr/app/requirements.txt + +EXPOSE 5000 +ENTRYPOINT ["python", "/usr/app/app.py"]