Skip to content

Commit

Permalink
modify these
Browse files Browse the repository at this point in the history
  • Loading branch information
mlapaglia committed Jul 17, 2024
1 parent 981a5ad commit d2ea0aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
5 changes: 2 additions & 3 deletions OpenAlprWebhookProcessor.Server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ RUN apt-get update && apt-get install -y ca-certificates curl gnupg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update && apt-get install nodejs -y

COPY ["openalprwebhookprocessor.client/nuget.config", "openalprwebhookprocessor.client/"]

COPY ["OpenAlprWebhookProcessor.Server/OpenAlprWebhookProcessor.Server.csproj", "OpenAlprWebhookProcessor.Server/"]
COPY ["openalprwebhookprocessor.client/openalprwebhookprocessor.client.esproj", "openalprwebhookprocessor.client/"]
RUN dotnet restore "./OpenAlprWebhookProcessor.Server/./OpenAlprWebhookProcessor.Server.csproj"
RUN dotnet restore "./OpenAlprWebhookProcessor.Server/OpenAlprWebhookProcessor.Server.csproj"
COPY . .
WORKDIR "/src/OpenAlprWebhookProcessor.Server"
RUN dotnet build "./OpenAlprWebhookProcessor.Server.csproj" -c $BUILD_CONFIGURATION -o /app/build
Expand Down
1 change: 0 additions & 1 deletion OpenAlprWebhookProcessor.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ public void ConfigureServices(IServiceCollection services)
services.AddSingleton(mapper.CreateMapper());

services.AddHangfire(configuration => configuration
.SetDataCompatibilityLevel(CompatibilityLevel.Version_170)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UseInMemoryStorage());
Expand Down
17 changes: 8 additions & 9 deletions openalprwebhookprocessor.client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"builder": "@angular-devkit/build-angular:browser-esbuild",
"options": {
"outputPath": {
"base": "dist/openalprwebhookprocessor.client"
},
"outputPath": "dist/openalprwebhookprocessor.client",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/assets/favicon.ico",
"src/assets",
"src/manifest.webmanifest"
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
Expand Down Expand Up @@ -53,8 +53,7 @@
}
],
"scripts": [],
"serviceWorker": "ngsw-config.json",
"browser": "src/main.ts"
"serviceWorker": true
},
"configurations": {
"production": {
Expand Down

0 comments on commit d2ea0aa

Please sign in to comment.