origami_env / Dockerfile
ianalin123's picture
fix: default port to 7860 for HuggingFace Spaces health check
6530258
raw
history blame contribute delete
327 Bytes
FROM ghcr.io/meta-pytorch/openenv-base:latest
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir "openenv-core[core]>=0.2.1"
COPY . /app
ENV MAX_CONCURRENT_ENVS=16
CMD ["sh", "-c", "uvicorn origami_server.app:app --host 0.0.0.0 --port ${PORT:-7860}"]