Spaces:
Sleeping
Sleeping
| FROM python:3.11 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| WEB_CONCURRENCY=1 | |
| WORKDIR $HOME/app | |
| COPY --chown=user ./requirements.txt ./ | |
| RUN pip install -r requirements.txt | |
| COPY --chown=user . . | |
| CMD ["chainlit", "run", "chainlit_app.py", "--host", "0.0.0.0", "--port", "7860"] | |