mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 22:16:33 +00:00
9 lines
311 B
Docker
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"]
|