Esrath commited on
Commit
02c3007
1 Parent(s): 4441c2b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+ RUN useradd -m -u 1000 user
3
+ USER user
4
+ ENV HOME=/home/user \
5
+ PATH=/home/user/.local/bin:$PATH
6
+ WORKDIR $HOME/app
7
+ COPY --chown=user . $HOME/app
8
+ COPY ./LangChain/requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
+
11
+ COPY ./LangChain/app .
12
+ CMD ["chainlit", "run", "app.py", "--port", "7860"]