Spaces:
Runtime error
Runtime error
File size: 469 Bytes
e163c0d 0138ccd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN mkdir /code/.cache
RUN chmod 777 /code/.cache
RUN mkdir /code/.chroma
RUN chmod 777 /code/.chroma
CMD ["panel", "serve", "/code/ai-chat-pdf.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "hnfabdllh-chatbotpdf.hf.space", "--allow-websocket-origin", "0.0.0.0:7860"] |