From 4983d253c1ab172505167820ff3862b184ea8e2a Mon Sep 17 00:00:00 2001 From: aqib0770 Date: Mon, 27 Nov 2023 01:53:36 +0530 Subject: [PATCH] added docker file --- .dockerignore | 8 ++++++++ Dockerfile | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5ef6c60 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +artifacts/ +prediction_artifacts/ +predictions/ +logs/ +notebooks/ +env/ +LICENSE +README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8060b7c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.8-slim-buster + +WORKDIR /app + +COPY . /app + +RUN pip install -r requirements.txt + +CMD [ "python3","app.py" ] \ No newline at end of file