From e3c54cccffc240ac17432202c08214e1fe7fae11 Mon Sep 17 00:00:00 2001 From: Philipp Spinnler Date: Wed, 18 Sep 2024 08:32:30 +0200 Subject: [PATCH] bumped python version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0fd0a2a..607809b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:3.10-slim AS builder +FROM python:3.12-slim AS builder RUN pip install poetry WORKDIR /app COPY pyproject.toml poetry.lock ./ RUN poetry export -f requirements.txt --output requirements.txt --without-hashes -FROM python:3.10-slim +FROM python:3.12-slim WORKDIR /app COPY --from=builder /app/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt @@ -12,4 +12,4 @@ COPY . . EXPOSE 8000 ENV PYTHONUNBUFFERED=1 -CMD ["fastapi", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["fastapi", "app/main.py", "--host", "0.0.0.0", "--port", "8000"]