Skip to content

Commit

Permalink
feat: ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonveroneze committed Dec 26, 2023
1 parent 08080d4 commit 87776d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Aspnet/Base/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
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"
echo "- AspNetCorePorts: $ASPNETCORE_HTTP_PORTS"
echo ""
echo "- Start application: $APP_NAME"

dotnet "$APP_NAME.dll"
dotnet $APP_NAME

0 comments on commit 87776d1

Please sign in to comment.