From 3f4d54446ed4004c692254fd33b00c1d0e2a5ab3 Mon Sep 17 00:00:00 2001 From: Valentin De Matos Date: Fri, 22 Mar 2024 17:15:33 +0000 Subject: [PATCH] build: Dockerfile Signed-off-by: Valentin De Matos --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c50e66f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.10.13-slim as python-base + +RUN apt-get update && \ + apt-get install -y build-essential libpq-dev gcc curl git-all && \ + apt-get remove -y && \ + apt-get autoremove -y && \ + apt-get clean -y + +WORKDIR /app/ + +COPY requirements.txt . + +RUN pip install -r requirements.txt + +COPY src/ src/ \ No newline at end of file