Spaces:
Paused

File size: 426 Bytes
428f839
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# Hugging Face Space entrypoint for demo/; this is not the LeRobot EnvHub server image.
FROM python:3.12-slim-bookworm
WORKDIR /app
COPY demo/requirements.txt /tmp/demo-requirements.txt
RUN pip install --no-cache-dir -r /tmp/demo-requirements.txt \
    && useradd -m -u 1000 user
COPY --chown=user:user . .
USER user
ENV MUJOCO_GL=disable OPENBLAS_NUM_THREADS=1 PYTHONUNBUFFERED=1
EXPOSE 7860
CMD ["python", "-m", "demo.app"]