Spaces:
Runtime error
Runtime error
File size: 389 Bytes
8733154 29c2a58 ffebadf 8733154 |
1 2 3 4 5 6 7 8 9 10 11 12 |
FROM python:3.11
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . .
RUN pip install -r requirements.txt
RUN --mount=type=secret,id=HUGGINGFACE_API_TOKEN,mode=0444,required=true
RUN --mount=type=secret,id=CHAINLIT_AUTH_SECRET,mode=0444,required=true
CMD ["chainlit", "run", "app.py", "--port", "7860"]
|