From 97b2ac7ccb4b956292464e68e62e14c58c5f1dc1 Mon Sep 17 00:00:00 2001 From: admin-valentin Date: Mon, 22 Jun 2026 09:53:56 +0000 Subject: [PATCH] fix: add curl for health check --- Dockerfile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa9567f..3cd8e49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,7 @@ -FROM python:3.12-slim - +FROM python:3.12-slim WORKDIR /app - -RUN pip install --no-cache-dir \ - fastapi==0.115.0 \ - uvicorn==0.30.6 \ - httpx==0.27.2 \ - ezdxf==1.3.4 \ - python-multipart==0.0.9 - +RUN apt-get update && apt-get install -y --no-install-recommends curl && apt-get clean +RUN pip install --no-cache-dir fastapi==0.115.0 uvicorn==0.30.6 httpx==0.27.2 ezdxf==1.3.4 python-multipart==0.0.9 COPY main.py . - EXPOSE 8000 - -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file