Spaces:
Running
Running
Download Dockerfile from Jacobo/syntax: direct link, hf CLI and curl.
- Browser
- Download file 304 Bytes
-
https://huggingface.co/spaces/Jacobo/syntax/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Jacobo/syntax/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Jacobo/syntax/resolve/main/Dockerfile
304 Bytes
| FROM python:3.10-slim | |
| WORKDIR /code | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", \ | |
| "--server.port=7860", \ | |
| "--server.address=0.0.0.0", \ | |
| "--server.headless=true"] | |