Spaces:
Runtime error
Runtime error
Download Dockerfile from Pratik26Dec/ExtraaLearn: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/Pratik26Dec/ExtraaLearn/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Pratik26Dec/ExtraaLearn/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Pratik26Dec/ExtraaLearn/resolve/main/Dockerfile
320 Bytes
| # Use Python 3.10 slim as base image | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy your app code and requirements | |
| COPY . /app | |
| RUN pip install --upgrade pip setuptools wheel | |
| RUN pip install --prefer-binary -r requirements.txt | |
| # Expose port and run the app | |
| EXPOSE 5000 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"] |