diff --git a/Aspnet/Base/docker-entrypoint.sh b/Aspnet/Base/docker-entrypoint.sh index 78e10c4..7172a82 100755 --- a/Aspnet/Base/docker-entrypoint.sh +++ b/Aspnet/Base/docker-entrypoint.sh @@ -3,7 +3,7 @@ OS=$(cat /etc/*-release | egrep "PRETTY_NAME" | cut -d = -f 2 | tr -d '"') APP_NAME=$(find . -type f -name "*deps.json" | xargs) -APP_NAME=$(echo $APP_NAME | xargs | sed -e "s/.\///g;s/.deps.json//g") +APP_NAME=$(echo $APP_NAME | xargs | sed -e "s/.\///g;s/.deps.json/\.dll/g") echo "- SystemOperation: $OS" echo "- Environment: $ASPNETCORE_ENVIRONMENT" @@ -11,4 +11,4 @@ echo "- AspNetCorePorts: $ASPNETCORE_HTTP_PORTS" echo "" echo "- Start application: $APP_NAME" -dotnet "$APP_NAME.dll" \ No newline at end of file +dotnet $APP_NAME \ No newline at end of file