Spaces:
Runtime error
Runtime error
Download Dockerfile from autodrive/dq-simulator: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/spaces/autodrive/dq-simulator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/autodrive/dq-simulator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/autodrive/dq-simulator/resolve/main/Dockerfile
516 Bytes
| FROM python:3.10-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /code | |
| COPY --chown=user requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir -r /code/requirements.txt | |
| COPY --chown=user . /code | |
| CMD ["python", "-m", "streamlit", "run", "/code/app.py", \ | |
| "--server.port=7860", \ | |
| "--server.address=0.0.0.0", \ | |
| "--browser.gatherUsageStats=false"] | |