diff --git a/backend/Dockerfile b/backend/Dockerfile index 72c6fb7a..05489ec1 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,6 +1,32 @@ -FROM python:3.12-slim +FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11-slim AS builder WORKDIR /app -COPY ./requirements.txt ./ -RUN pip3 install --no-cache-dir -r requirements.txt \ No newline at end of file +COPY requirements.txt ./ +RUN --mount=type=cache,target=/root/.cache/pip \ + pip install -r requirements.txt + +# COPY . ./app + +# FROM builder as dev-envs + +# RUN <