From 4c09db1937d6d139ddee880fa033006851084d57 Mon Sep 17 00:00:00 2001 From: Giridevops-Git <106099865+Giridevops-Git@users.noreply.github.com> Date: Sun, 20 Nov 2022 11:11:11 +0530 Subject: [PATCH] added new dockerfile-slim --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..38fe0e2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.11.0-slim-buster +LABEL author="Girish" +EXPOSE 5000 +RUN mkdir /flask-hello-world + ADD . /flask-hello-world + RUN cd /flask-hello-world && \ + pip3 install flask +WORKDIR /flask-hello-world +CMD ["flask", "run", "-h", "0.0.0.0"]