Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy requirements file | |
| COPY requirements.txt requirements.txt | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app files | |
| COPY app.py app.py | |
| # Create directory for generated files | |
| RUN mkdir -p generated_resumes | |
| # Expose port 7860 (default for Hugging Face Spaces) | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"] |