Spaces:
Running
Running
Download Dockerfile from pumpfun/Robinhood-Web: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/pumpfun/Robinhood-Web/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pumpfun/Robinhood-Web/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pumpfun/Robinhood-Web/resolve/main/Dockerfile
378 Bytes
| FROM python:3.12-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --user -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |