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