krishnah27's picture
Harden deployment and Space compatibility
21d2feb verified
Raw
History Blame Contribute Delete
201 Bytes
FROM ghcr.io/meta-pytorch/openenv-base:latest
WORKDIR /app/env
COPY . /app/env
RUN pip install --no-cache-dir .
EXPOSE 8000
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]