Spaces:
Sleeping
Sleeping
FROM python:3.10 | |
WORKDIR /home/usr/ | |
COPY ./requirements.txt /home/usr/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /home/usr/requirements.txt | |
RUN mkdir .files/ | |
RUN mkdir /.cache/ | |
RUN chmod 755 /.cache/ | |
RUN mkdir /.cache/huggingface | |
RUN mkdir /.cache/huggingface/hub | |
RUN mkdir /.cache/huggingface/hub/models--mistralai--Mixtral-8x7B-v0.1 | |
RUN mkdir /.cache/huggingface/hub/models--mistralai--Mixtral-8x7B-v0.1/blobs | |
RUN mkdir /.cache/huggingface/hub/models--mistralai--Mixtral-8x7B-v0.1/snapshots | |
RUN mkdir /.cache/huggingface/hub/models--mistralai--Mixtral-8x7B-v0.1/snapshots/985aa055896a8f943d4a9f2572e6ea1341823841 | |
COPY . . | |
COPY .chainlit .chainlit | |
CMD ["chainlit", "run", "/home/usr/rag_app.py", "--host", "0.0.0.0", "--port", "7860"] | |
# CMD ["ls", "-a"] | |