Przeglądaj źródła

【轻量级PR】update docker-compose.yml
fix the issue about can't read the resource that under the wwwroot when deploy the application to linux/docker by docker compose file.

Signed-off-by: 马克 <18356098085@163.com>

马克 1 rok temu
rodzic
commit
4850ac8297
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docker/docker-compose.yml

+ 1 - 1
docker/docker-compose.yml

@@ -60,7 +60,7 @@ services:
     volumes:
       - "./app:/app"
     working_dir: /app
-    command: ["/app/wait-for-it.sh", "mysql:3306", "-t", "120", "--","dotnet", "Admin.NET.Web.Entry.dll"]
+    command: ["/app/wait-for-it.sh", "mysql:3306", "-t", "120", "--","dotnet", "Admin.NET.Web.Entry.dll", "--content-root", "/app/wwwroot"]
     depends_on:
       - mysql
       - redis