Spaces:
Sleeping
Sleeping
Download Dockerfile from Fatimasane26/Assignment_FS: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/Fatimasane26/Assignment_FS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Fatimasane26/Assignment_FS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Fatimasane26/Assignment_FS/resolve/main/Dockerfile
268 Bytes
| FROM python:3.10-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |