peinan commited on
Commit
b8f2c51
β€’
1 Parent(s): 66e2adc

use docker SDK instead of gradio

Browse files
Files changed (2) hide show
  1. Dockerfile +10 -0
  2. README.md +1 -1
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /usr/src/app
4
+
5
+ COPY . .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+ EXPOSE 7860
8
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
9
+
10
+ CMD ["python", "src/pdfchat/app.py"]
README.md CHANGED
@@ -3,7 +3,7 @@ title: PDF Chat
3
  emoji: πŸ“„
4
  colorFrom: blue
5
  colorTo: green
6
- sdk: gradio
7
  app_file: src/pdfchat/app.py
8
  pinned: true
9
  ---
 
3
  emoji: πŸ“„
4
  colorFrom: blue
5
  colorTo: green
6
+ sdk: docker
7
  app_file: src/pdfchat/app.py
8
  pinned: true
9
  ---