Download Dockerfile from legenedserver/fast-file-server: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/legenedserver/fast-file-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/legenedserver/fast-file-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/legenedserver/fast-file-server/resolve/main/Dockerfile
285 Bytes
| FROM python:3.11-slim | |
| RUN pip install aiohttp | |
| WORKDIR /app | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY data.py /app/ | |
| COPY credits.html /app/ | |
| RUN sed -i 's/PORT = 8888/PORT = 7860/' /app/data.py | |
| EXPOSE 7860 | |
| CMD ["python3", "/app/data.py"] | |