cmagganas commited on
Commit
2b47b15
1 Parent(s): 83f5b93

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11.4
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 ./requirements2.txt ~/app/requirements2.txt
9
+ COPY ./src ~/app/src
10
+ # COPY ./data/KingLear.txt ~/app/data/KingLear.txt
11
+
12
+ RUN pip install -r requirements2.txt
13
+
14
+ CMD ["chainlit", "run", "src/UI/app.py", "--port", "7860"]