Spaces:
Running
Running
Download Dockerfile from AdithyaSK/desktop-ors: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/AdithyaSK/desktop-ors/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AdithyaSK/desktop-ors/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AdithyaSK/desktop-ors/resolve/main/Dockerfile
325 Bytes
| FROM python:3.11-slim | |
| RUN useradd -m -u 1000 user | |
| RUN pip install --no-cache-dir openreward pydantic e2b-desktop e2b python-dotenv | |
| USER user | |
| ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=user . $HOME/app | |
| EXPOSE 7860 | |
| CMD ["python", "server.py", "--host", "0.0.0.0", "--port", "7860"] | |