Spaces:
Configuration error
Configuration error
Download Dockerfile from understanding/Testtg: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/spaces/understanding/Testtg/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/understanding/Testtg/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/understanding/Testtg/resolve/main/Dockerfile
397 Bytes
| # Use a standard Python 3.10 image. | |
| FROM python:3.10-slim | |
| # Set the working directory | |
| WORKDIR /code | |
| # Copy and install requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Copy the application code | |
| COPY . . | |
| # IMPORTANT: Expose the port our webhook server needs to listen on. | |
| EXPOSE 7860 | |
| # Command to run the application | |
| CMD ["python", "app.py"] | |