Spaces:
Sleeping
Sleeping
duqing2026
feat: enhance venture scope agent with file upload, better UI, and deployment config
9a5c573 | FROM python:3.9-slim | |
| # Set up a new user named "user" with user ID 1000 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| # Create instance directory and ensure permissions | |
| RUN mkdir -p instance && chown -R user:user instance && chmod 777 instance | |
| RUN mkdir -p instance/uploads && chown -R user:user instance/uploads && chmod 777 instance/uploads | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |