philmui commited on
Commit
e5fa863
Β·
1 Parent(s): ea40a8a

chainlit run

Browse files
Files changed (3) hide show
  1. Dockerfile +12 -0
  2. README.md +1 -3
  3. __pycache__/app.cpython-311.pyc +0 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
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/user
7
+ COPY --chown=user . $HOME/app
8
+ COPY ./requirements.txt ~/app/requirements.txt
9
+ RUN pip install -r requirements.txt
10
+ COPY . .
11
+ CMD ["chainlit", "run", "app.py", "--port", "7860"]
12
+
README.md CHANGED
@@ -3,9 +3,7 @@ title: Meta Analysis
3
  emoji: πŸŒ–
4
  colorFrom: green
5
  colorTo: red
6
- sdk: chainlit
7
- sdk_version: 1.0.505
8
- app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  ---
 
3
  emoji: πŸŒ–
4
  colorFrom: green
5
  colorTo: red
6
+ sdk: docker
 
 
7
  pinned: false
8
  license: apache-2.0
9
  ---
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ