Skip to content

Commit

Permalink
feat(catalog): Translations
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobritodev committed Aug 6, 2021
1 parent 561b91a commit dee07a2
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/hooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if ! head -1 "$1" | grep -qE "^(feat|fix|ci|chore|docs|test|style|refactor|chk|m
echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/ for more details" >&2
exit 1
fi
if ! head -1 "$1" | grep -qE "^.{1,50}$"; then
if ! head -1 "$1" | grep -qE "^.{1,100}$"; then
echo "Aborting commit. Your commit message is too long." >&2
exit 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:55201;http://localhost:55202"
},
"Docker (1)": {
"commandName": "Docker",
"launchBrowser": true,
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
"publishAllPorts": true,
"useSSL": true
}
}
}
12 changes: 6 additions & 6 deletions src/services/DevStore.Catalog.API/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
WORKDIR /src
COPY ["./services/DevStore.Catalogo.API/DevStore.Catalogo.API.csproj", "services/DevStore.Catalogo.API/"]
COPY ["./services/DevStore.Catalog.API/DevStore.Catalogo.API.csproj", "services/DevStore.Catalogo.API/"]
COPY ["./building blocks/DevStore.Core/DevStore.Core.csproj", "building blocks/DevStore.WebAPI.Core/"]
COPY ["./building blocks/DevStore.WebAPI.Core/DevStore.WebAPI.Core.csproj", "building blocks/DevStore.WebAPI.Core/"]
COPY ["./building blocks/DevStore.MessageBus/DevStore.MessageBus.csproj", "building blocks/DevStore.MessageBus/"]

RUN dotnet restore "services/DevStore.Catalogo.API/DevStore.Catalogo.API.csproj"
RUN dotnet restore "services/DevStore.Catalog.API/DevStore.Catalogo.API.csproj"
COPY . .
WORKDIR "services/DevStore.Catalogo.API"
RUN dotnet build "DevStore.Catalogo.API.csproj" -c Release -o /app/build
WORKDIR "services/DevStore.Catalog.API"
RUN dotnet build "DevStore.Catalog.API.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "DevStore.Catalogo.API.csproj" -c Release -o /app/publish
RUN dotnet publish "DevStore.Catalog.API.csproj" -c Release -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "DevStore.Catalogo.API.dll"]
ENTRYPOINT ["dotnet", "DevStore.Catalog.API.dll"]
Binary file modified src/web/DevStore.WebApp.MVC/Models/PedidoTransacaoViewModel.cs
Binary file not shown.
Binary file modified src/web/DevStore.WebApp.MVC/Models/ProdutoViewModel.cs
Binary file not shown.
Binary file modified src/web/DevStore.WebApp.MVC/Services/CatalogoService.cs
Binary file not shown.
Binary file modified src/web/DevStore.WebApp.MVC/Views/Carrinho/Index.cshtml
Binary file not shown.
Binary file modified src/web/DevStore.WebApp.MVC/Views/Catalogo/Index.cshtml
Binary file not shown.
Binary file modified src/web/DevStore.WebApp.MVC/Views/Catalogo/ProdutoDetalhe.cshtml
Binary file not shown.

0 comments on commit dee07a2

Please sign in to comment.