datacipen commited on
Commit
104db73
1 Parent(s): bcaf45a

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
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 ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
+ COPY ./.chainlit/download_offre_formation.txt ~/app/download_offre_formation.txt
11
+ COPY ./.chainlit/download_QA_emplois.txt ~/app/download_QA_emplois.txt
12
+ COPY ./.chainlit/download_emplois.txt ~/app/download_emplois.txt
13
+ COPY . .
14
+ CMD ["chainlit", "run", "main.py", "--port", "7860"]