qingxu98 commited on
Commit
6ccb53e
1 Parent(s): ef2c513
Files changed (2) hide show
  1. Dockerfile +2 -8
  2. README.md +1 -1
Dockerfile CHANGED
@@ -1,9 +1,3 @@
1
- FROM fuqingxu/ai_search:v1
2
 
3
- USER root
4
- RUN chown -R user:user /etc/searxng /usr/local/searxng
5
- RUN chmod -R 777 /etc/searxng /usr/local/searxng
6
- USER user
7
-
8
- # 启动命令
9
- CMD ["/start.sh"]
 
1
+ FROM fuqingxu/ai_search:v2
2
 
3
+ CMD ["python", "webapp.py"]
 
 
 
 
 
 
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: gray
5
  colorTo: pink
6
  sdk: docker
7
  pinned: false
8
- app_port: 8080
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
5
  colorTo: pink
6
  sdk: docker
7
  pinned: false
8
+ app_port: 7860
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference