Spaces:
Build error
Build error
Download flight.docker from souvik0306/Flight_Route_Planner: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/spaces/souvik0306/Flight_Route_Planner/resolve/main/flight.docker
- Command line
-
hf download hf://spaces/souvik0306/Flight_Route_Planner/flight.docker
-
curl -L -o flight.docker https://huggingface.co/spaces/souvik0306/Flight_Route_Planner/resolve/main/flight.docker
496 Bytes
| # Use an official Python runtime as a parent image | |
| FROM python:3.9-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the requirements.txt file into the container at /app | |
| COPY requirements.txt /app/ | |
| # Install any needed packages specified in requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the current directory contents into the container at /app | |
| COPY . /app/ | |
| # Expose the port that Gradio will run on | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |