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 8080 | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] |