Spaces:
Runtime error
Runtime error
Download Dockerfile from changednow/ImageGEN: direct link, hf CLI and curl.
- Browser
- Download file 354 Bytes
-
https://huggingface.co/spaces/changednow/ImageGEN/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/changednow/ImageGEN/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/changednow/ImageGEN/resolve/main/Dockerfile
354 Bytes
| FROM python:3.11-slim | |
| WORKDIR /code | |
| ENV HF_HOME /code/.cache | |
| RUN mkdir -p /code/.cache && chmod -R 777 /code/.cache | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY ./app.py /code/app.py | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |