machineread / Dockerfile
eadricricmund's picture
Rename DockerFile -> Dockerfile for case-sensitive HF build
db43a05
Raw History Blame Contribute Delete
241 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY backend/ ./backend/
RUN pip install --no-cache-dir -r backend/requirements.txt
EXPOSE 7860
CMD ["python", "-m", "uvicorn", "app.main:app", "--app-dir", "backend", "--host", "0.0.0.0", "--port", "7860"]