Spaces:
Sleeping
Sleeping
Download Dockerfile from myreport12/myasistent: direct link, hf CLI and curl.
- Browser
- Download file 508 Bytes
-
https://huggingface.co/spaces/myreport12/myasistent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/myreport12/myasistent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/myreport12/myasistent/resolve/main/Dockerfile
508 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PIP_NO_CACHE_DIR=1 | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV GRADIO_SERVER_PORT=7860 | |
| ENV GRADIO_ANALYTICS_ENABLED=False | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN python -m pip install --upgrade pip setuptools wheel && \ | |
| python -m pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |