STOP / Dockerfile
Nightfury16's picture
FINAL FIX: Forcibly re-installed dependencies using --ignore-installed to resolve persistent 'mount_app' error.
7a38b9e
raw
history blame contribute delete
272 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --ignore-installed -r requirements.txt
COPY app.py .
COPY checkpoints/ checkpoints/
ENV PORT 7860
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]