From e09b0a8e3ccc5ae9362fc0a26cd402b6e1306340 Mon Sep 17 00:00:00 2001 From: maneetgoyal Date: Wed, 10 Jan 2024 13:30:59 +0530 Subject: [PATCH] feat: dockerfile for api --- api/.dockerignore | 1 + api/Dockerfile | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 api/.dockerignore create mode 100644 api/Dockerfile diff --git a/api/.dockerignore b/api/.dockerignore new file mode 100644 index 00000000..b694934f --- /dev/null +++ b/api/.dockerignore @@ -0,0 +1 @@ +.venv \ No newline at end of file diff --git a/api/Dockerfile b/api/Dockerfile new file mode 100644 index 00000000..4b545a22 --- /dev/null +++ b/api/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.11-slim + +WORKDIR /app + +COPY . /app + +RUN pip install poetry + +RUN poetry install + +# EXPOSE 5000 + +# ENV NAME World` + +# CMD ["poetry", "run", "serve"]