Spaces:
Sleeping
Sleeping
Download Dockerfile from Swapnilbpatil/data_tool: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/Swapnilbpatil/data_tool/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Swapnilbpatil/data_tool/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Swapnilbpatil/data_tool/resolve/main/Dockerfile
297 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY app.py . | |
| COPY templates/ templates/ | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run Flask app | |
| CMD ["python", "-u", "app.py"] |