Spaces:
Runtime error
Runtime error
Download Dockerfile from afaqdean/InterExblorer: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/afaqdean/InterExblorer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/afaqdean/InterExblorer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/afaqdean/InterExblorer/resolve/main/Dockerfile
376 Bytes
| FROM python:3.10 | |
| WORKDIR interExblorer/code | |
| COPY ./requirements.txt interExblorer/code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r interExblorer/code/requirements.txt | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY . . | |
| CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"] | |