Spaces:
Runtime error
Runtime error
Download Dockerfile from rasaaaaa/BBB: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/rasaaaaa/BBB/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rasaaaaa/BBB/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rasaaaaa/BBB/resolve/main/Dockerfile
311 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| COPY --chown=user requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY --chown=user . /app | |
| EXPOSE 7860 | |
| CMD ["python", "bbb_server.py"] | |