Download Dockerfile from earakely-scale/PortSimEnv-AgentEnv: direct link, hf CLI and curl.
- Browser
- Download file 568 Bytes
-
https://huggingface.co/spaces/earakely-scale/PortSimEnv-AgentEnv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/earakely-scale/PortSimEnv-AgentEnv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/earakely-scale/PortSimEnv-AgentEnv/resolve/main/Dockerfile
568 Bytes
| # Replays the runs in earakely-scale/PortSimEnv-AgentEnv on PortSimEnv's 3D viewer, through agent-env portsim view. | |
| FROM python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1 | |
| RUN useradd --create-home --uid 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH | |
| WORKDIR /home/user/app | |
| RUN pip install --user "huggingface_hub>=1,<2" \ | |
| "agentenv-portsim @ https://github.com/earakely-scale/agentenv-portsim-plugin/archive/refs/tags/v0.5.5.tar.gz" | |
| COPY --chown=user start.sh . | |
| EXPOSE 7860 | |
| CMD ["sh", "start.sh"] | |