Files
autopilot/python_scaffold/Dockerfile
T
2026-03-25 21:57:26 +02:00

9 lines
311 B
Docker

FROM python:3.11-slim
RUN apt-get update && apt-get install -y libxml2-dev libxslt1-dev && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]