Spaces:
Runtime error
Runtime error
Download Dockerfile from manny1313/imageupload: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/manny1313/imageupload/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/manny1313/imageupload/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/manny1313/imageupload/resolve/main/Dockerfile
290 Bytes
| # Use official Python image | |
| FROM python:3.10 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |