Download Dockerfile from userrein/Ubuntu: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/userrein/Ubuntu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/userrein/Ubuntu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/userrein/Ubuntu/resolve/main/Dockerfile
363 Bytes
| FROM ubuntu:24.04 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN apt-get update && \ | |
| apt-get install -y python3 python3-pip bash && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip3 install --break-system-packages --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["python3", "-u", "app.py"] |