Spaces:
Running
Running
Download Dockerfile from chalana2001/test: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/spaces/chalana2001/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chalana2001/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chalana2001/test/resolve/main/Dockerfile
248 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| # Copy requirements and install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the app | |
| COPY app.py . | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["python", "app.py"] |