Spaces:
Running
Running
Download Dockerfile from Perception365/UrbanFlow: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/Perception365/UrbanFlow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Perception365/UrbanFlow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Perception365/UrbanFlow/resolve/main/Dockerfile
351 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| curl \ | |
| ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY backend/ ./backend/ | |
| COPY frontend/ ./frontend/ | |
| EXPOSE 7860 | |
| CMD ["python", "backend/server.py"] | |