tanjingyu 1 giorno fa
parent
commit
51c9b8cc06
2 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 3 0
      DockerCompose项目启动说明.md
  2. 3 1
      Dockerfile

+ 3 - 0
DockerCompose项目启动说明.md

@@ -0,0 +1,3 @@
+cd ~/workspace/workspace/agent_create_server/Agent/
+
+docker compose -p agent_create_server up -d --build

+ 3 - 1
Dockerfile

@@ -20,7 +20,9 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com
 COPY . .
 
 
-ENV PYTHONPATH=/app/examples/mode_workflow
+ENV PYTHONPATH=/app
+
+WORKDIR /app/examples/mode_workflow
 
 EXPOSE 8772