From 58a637763f68e4bb7397f594de79d7aaff6abecd Mon Sep 17 00:00:00 2001 From: Sandeep Pandey <71967467+7pandeys@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:21:47 +0530 Subject: [PATCH] Create Dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..860979f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.10.13-slim + +RUN pip install poetry + +WORKDIR /vizion + +COPY . . + +RUN poetry install + +RUN poetry config virtualenvs.create false + +EXPOSE 80 + +# ENTRYPOINT ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8030" ]"