Skip to content

Commit

Permalink
feat: ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonveroneze committed Oct 14, 2024
1 parent 51e1d4a commit 15ef308
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build and Push (asp.net)
run: |
cd Aspnet/Base
cd aspnet
./build.sh
./create-tag.sh
./push.sh
Expand Down
File renamed without changes.
4 changes: 1 addition & 3 deletions Aspnet/Base/Debian/Dockerfile → aspnet/Debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV ASPNETCORE_ENVIRONMENT=Production
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

# TZ/LANG envs
ENV TZ=America/Sao_Paulo
ENV TZ America/Sao_Paulo
ENV LANG pt_BR.UTF-8
ENV LANGUAGE pt_BR.UTF-8
ENV LC_ALL pt_BR.UTF-8
Expand All @@ -26,8 +26,6 @@ RUN echo "locales locales/locales_to_be_generated multiselect pt_BR.UTF-8 UTF-8"

COPY docker-entrypoint.sh /home/app

EXPOSE $ASPNETCORE_HTTP_PORTS/tcp

USER app

WORKDIR /home/app
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ echo "- Environment: $ASPNETCORE_ENVIRONMENT"
echo "- AspNetCorePorts: $ASPNETCORE_HTTP_PORTS"
echo ""
echo "- Run application: $APP_NAME"

echo ""
dotnet $APP_NAME
File renamed without changes.
4 changes: 2 additions & 2 deletions net/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ APP_NAME=$(find . -type f -name "*deps.json" | xargs)
APP_NAME=$(echo $APP_NAME | xargs | sed -e "s/.\///g;s/.deps.json/\.dll/g")

echo "- SystemOperation: $OS"
echo "- Environment: $DOTNET_ENVIRONMENT"
echo "- Environment: $ASPNETCORE_ENVIRONMENT"
echo ""
echo "- Run application: $APP_NAME"

echo ""
dotnet $APP_NAME

0 comments on commit 15ef308

Please sign in to comment.