Spaces:
Sleeping
Sleeping
Download Dockerfile from sid22669/Deployment_check: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/sid22669/Deployment_check/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sid22669/Deployment_check/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sid22669/Deployment_check/resolve/main/Dockerfile
450 Bytes
| # Use the official Python image | |
| FROM python:3.9-slim | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the current directory contents into the container at /app | |
| COPY . /app | |
| # Install any needed dependencies specified in requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Make port 5000 available to the world outside this container | |
| EXPOSE 7860 | |
| # Run app.py when the container launches | |
| CMD ["python", "app.py"] | |