Explorar o código

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

马克 hai 1 ano
pai
achega
4850ac8297
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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