Spaces:
Paused
Paused
Download Dockerfile from tema7707/repo2env-toolz: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/tema7707/repo2env-toolz/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tema7707/repo2env-toolz/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tema7707/repo2env-toolz/resolve/main/Dockerfile
331 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY . /app | |
| RUN pip install --no-cache-dir -e . | |
| RUN pip install -e . | |
| ENV REPO2ENV_DEFAULT_REPO=/app/examples/toolz | |
| EXPOSE 8000 | |
| CMD ["repo2env-openenv-server", "--port", "8000"] | |