Spaces:
Sleeping
Sleeping
Download Dockerfile from Rootsystem2101/ZeroCyber-SLM: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/spaces/Rootsystem2101/ZeroCyber-SLM/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Rootsystem2101/ZeroCyber-SLM/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Rootsystem2101/ZeroCyber-SLM/resolve/main/Dockerfile
441 Bytes
| FROM python:3.10-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| # Install everything in one pip call to resolve constraints together | |
| ARG CACHEBUST=v10 | |
| RUN echo $CACHEBUST && pip install --no-cache-dir --user \ | |
| "gradio==3.50.2" \ | |
| "starlette==0.28.0" \ | |
| "jinja2==3.1.2" | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| CMD ["python", "app.py"] | |