Ver Fonte

【轻量级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>

马克 há 1 ano atrás
pai
commit
4850ac8297
1 ficheiros alterados com 1 adições e 1 exclusões
  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