schemashift / Dockerfile
yashash04's picture
Phase 7: FastAPI server + Dockerfile + openenv.yaml
cb33205
raw
history blame contribute delete
255 Bytes
FROM ghcr.io/meta-pytorch/openenv-base:latest
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN pip install -e .
EXPOSE 7860
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]