Spaces:
Runtime error
Runtime error
Download dockerfile from myexternal/GE-LLM-APP: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/myexternal/GE-LLM-APP/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/myexternal/GE-LLM-APP/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/myexternal/GE-LLM-APP/resolve/main/dockerfile
487 Bytes
| # Use the official Python image from the Docker Hub | |
| FROM python:3.10-slim | |
| # Set the working directory in the container | |
| WORKDIR /usr/src/app | |
| # Copy the requirements file into the container | |
| COPY requirements.txt . | |
| # Install the required Python packages | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the application code into the container | |
| COPY . . | |
| # Expose the port that Gradio will run on | |
| EXPOSE 7860 | |
| # Command to run the Gradio app | |
| CMD ["python", "app.py"] | |