Download Dockerfile from babaTEEpe/startups: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/babaTEEpe/startups/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/babaTEEpe/startups/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/babaTEEpe/startups/resolve/main/Dockerfile
360 Bytes
| FROM python:3.9-slim | |
| # Set up work directory | |
| WORKDIR /app | |
| # Copy requirements and install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all backend files | |
| COPY . . | |
| # Set environment variables | |
| ENV PORT=7860 | |
| ENV PYTHONUNBUFFERED=1 | |
| # Expose the port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |