Spaces:
Sleeping
Sleeping
Download Dockerfile from plotly/dash-app-template: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/plotly/dash-app-template/resolve/refs%2Fpr%2F2/Dockerfile
- Command line
-
hf download hf://spaces/plotly/dash-app-template@refs/pr/2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/plotly/dash-app-template/resolve/refs%2Fpr%2F2/Dockerfile
205 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /app | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:server"] | |