Spaces:
Sleeping
Sleeping
Download Dockerfile from MedSwin/Introduction: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/MedSwin/Introduction/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MedSwin/Introduction/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MedSwin/Introduction/resolve/main/Dockerfile
305 Bytes
| # Simple static server using Python for Hugging Face Spaces (Docker SDK) | |
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| COPY . /app | |
| EXPOSE 7860 | |
| # Serve static files from /app at $PORT | |
| CMD ["/bin/sh", "-lc", "python -m http.server ${PORT:-7860}"] | |