File size: 783 Bytes
b18c318
 
 
 
 
 
 
 
2047e7f
13ddb81
d737be9
c0ae64c
2df8d37
9fc9266
14dfd5b
953c1b1
f217ea6
953c1b1
2047e7f
b18c318
 
 
 
 
180ff32
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"]