Spaces:
Running
Running
Download Dockerfile from BoneMechanic/rsvp-server: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/BoneMechanic/rsvp-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BoneMechanic/rsvp-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BoneMechanic/rsvp-server/resolve/main/Dockerfile
401 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY . . | |
| # Create logs directory with proper permissions | |
| RUN mkdir -p logs && chmod 777 logs | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the application with uvicorn and WSGI adapter | |
| CMD ["uvicorn", "wsgi:app", "--host", "0.0.0.0", "--port", "7860"] |