File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ services: # 定义服务
302302 build : # 使用 Dockerfile 构建镜像
303303 context : ./frontend # 前端上下文目录
304304 dockerfile : Dockerfile # Dockerfile 文件
305- image : jiangmiemie/llmchatf:0.1.0
305+ image : jiangmiemie/llmchatf:0.1.0
306306 ports :
307307 - " 8501:8501" # 映射 Streamlit 默认端口
308308 command : ["streamlit", "run", "_streamlit/streamlit_app.py"] # 启动命令
@@ -313,7 +313,7 @@ services: # 定义服务
313313 build : # 使用 Dockerfile 构建镜像
314314 context : ./backend # 后端上下文目录
315315 dockerfile : Dockerfile # 后端 Dockerfile 文件
316- image : jiangmiemie/llmchatb:0.1.0
316+ image : jiangmiemie/llmchatb:0.1.0
317317 ports :
318318 - " 8010:8010" # 映射后端服务端口
319319 command : ["python", "chat_routers.py"] # 启动后端服务的命令
@@ -410,6 +410,8 @@ services:
410410 image: jiangmiemie/llmchatb:0.1.0
411411 ports:
412412 - "8010:8010"
413+ volumes:
414+ - ./backend/.env:/app/.env:ro
413415````
414416
4154172 . 拉取和运行:
You can’t perform that action at this time.
0 commit comments