Skip to content

Commit 4850ac8

Browse files
JreZhaogitee-org
authored andcommitted
【轻量级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: 马克 <[email protected]>
1 parent 3e6ce10 commit 4850ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ services:
6060
volumes:
6161
- "./app:/app"
6262
working_dir: /app
63-
command: ["/app/wait-for-it.sh", "mysql:3306", "-t", "120", "--","dotnet", "Admin.NET.Web.Entry.dll"]
63+
command: ["/app/wait-for-it.sh", "mysql:3306", "-t", "120", "--","dotnet", "Admin.NET.Web.Entry.dll", "--content-root", "/app/wwwroot"]
6464
depends_on:
6565
- mysql
6666
- redis

0 commit comments

Comments
 (0)