Spaces:
Sleeping
Sleeping
Download Dockerfile from JanithDeshan24/AquaTest: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/spaces/JanithDeshan24/AquaTest/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/JanithDeshan24/AquaTest/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/JanithDeshan24/AquaTest/resolve/main/Dockerfile
467 Bytes
| # Use a standard Python 3.9 image | |
| FROM python:3.9-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the requirements file first and install dependencies | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your project files into the container | |
| COPY . . | |
| # Tell Hugging Face to expose port 7860 | |
| EXPOSE 7860 | |
| # The command to run your Flask app | |
| CMD ["python", "app.py"] |