rdkulkarni commited on
Commit
c353813
1 Parent(s): eaf690e

Create Dockerfile

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