Pm-ops / Dockerfile
Aditya Guntur
Fix imports and Dockerfile for HF deployment
410e78d
Raw
History Blame Contribute Delete
275 Bytes
FROM ghcr.io/meta-pytorch/openenv-base:latest
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir openenv-core fastapi "uvicorn[standard]" pydantic
ENV PYTHONPATH=/app
EXPOSE 8000
CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]