Mqleet commited on
Commit
d22a516
·
1 Parent(s): b0f91dc

[update] docker

Browse files
Files changed (3) hide show
  1. Dockerfile +3 -3
  2. postBuild +0 -2
  3. requirements.txt +1 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.13
2
 
3
  # 切换到 root 用户以安装系统依赖
4
  USER root
@@ -40,5 +40,5 @@ RUN playwright install chromium
40
  COPY --chown=user . /app
41
 
42
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
43
- CMD ["uvicorn", "app:demo", "--host", "0.0.0.0", "--port", "7860"]
44
- # CMD ["python", "app.py"]
 
1
+ FROM python:3.10
2
 
3
  # 切换到 root 用户以安装系统依赖
4
  USER root
 
40
  COPY --chown=user . /app
41
 
42
  # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
43
+ # CMD ["uvicorn", "app:demo", "--host", "0.0.0.0", "--port", "7860"]
44
+ CMD ["python", "app.py"]
postBuild DELETED
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- playwright install --with-deps chromium
 
 
 
requirements.txt CHANGED
@@ -150,7 +150,7 @@ google-generativeai==0.6.0
150
  google-resumable-media==2.7.2
151
  googleapis-common-protos==1.66.0
152
  googlemaps==4.10.0
153
- gradio
154
  gradio_client
155
  greenlet==3.1.1
156
  groovy==0.1.2
 
150
  google-resumable-media==2.7.2
151
  googleapis-common-protos==1.66.0
152
  googlemaps==4.10.0
153
+ gradio==4.36.1
154
  gradio_client
155
  greenlet==3.1.1
156
  groovy==0.1.2