File size: 270 Bytes
b79c924 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.13-slim
WORKDIR /app
RUN python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] |