bug-triage-env / Dockerfile
Siteshcodes's picture
fix import paths for Docker
666b49a
raw
history blame contribute delete
266 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY server/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY model.py .
COPY server/ ./server/
EXPOSE 7860
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860", "--app-dir", "/app"]