Spaces:
Paused
Paused
Download Dockerfile from MySafeCode/FlaskedPygame2: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/MySafeCode/FlaskedPygame2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MySafeCode/FlaskedPygame2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MySafeCode/FlaskedPygame2/resolve/main/Dockerfile
349 Bytes
| FROM python:3.9-slim | |
| RUN apt-get update && apt-get install -y \ | |
| libsdl2-mixer-2.0-0 \ | |
| libsdl2-image-2.0-0 \ | |
| libsdl2-2.0-0 \ | |
| libsdl2-ttf-2.0-0 \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| CMD ["python", "app.py"] |