FROM python:3.11-slim | |
WORKDIR /app | |
COPY ./app ./app | |
COPY requirements.txt version.txt . | |
RUN date +%s > ./app/build_timestamp.txt &&pip install --no-cache-dir -r requirements.txt | |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |