From 3b5f471e1c78dc6596ab0259dcd221552d0df08d Mon Sep 17 00:00:00 2001 From: Avikant Srivastava Date: Sun, 28 Mar 2021 20:07:00 +0530 Subject: [PATCH] Dockerfile for flask added --- tensormap-server/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tensormap-server/Dockerfile diff --git a/tensormap-server/Dockerfile b/tensormap-server/Dockerfile new file mode 100644 index 00000000..d632c5f7 --- /dev/null +++ b/tensormap-server/Dockerfile @@ -0,0 +1,17 @@ +FROM ubuntu + +RUN apt-get update -y && \ + apt-get install -y python3-pip python3-dev + +COPY ./requirements.txt /requirements.txt + +WORKDIR / + +# RUN pip3 install --upgrade pip +RUN pip3 install -r requirements.txt + +COPY . / + +# ENTRYPOINT [ "python3" ] + +CMD [ "python3" , "run.py" ] \ No newline at end of file