diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 030cb95..82c7fe5 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN dotnet publish -c Release -o /build/publish src/Api/Api.csproj +RUN dotnet publish /build/publish src/Api/Api.csproj -c Release -o ######################################################################### diff --git a/src/Api/appsettings.json b/src/Api/appsettings.json index c857e81..d7297d4 100644 --- a/src/Api/appsettings.json +++ b/src/Api/appsettings.json @@ -11,12 +11,13 @@ } }, "AllowedHosts": "*", - "AllowedOrigins": [], + "AllowedOrigins": [ + "https://localhost:443", + "http://localhost:80", + "https://poegamblinghelper.swerik.dev" + ], "CacheTag": "FetchData", "FetchInterval": "5", - "Quartz": { - "quartz.scheduler.instanceName": "Quartz Api Update Scheduler" - }, "RateLimit": { "Global": { "TokenLimit": 1000, diff --git a/src/Web/Dockerfile b/src/Web/Dockerfile index af2649f..e991db5 100644 --- a/src/Web/Dockerfile +++ b/src/Web/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /build COPY ../../. . RUN apk add --no-cache nodejs npm RUN npm install -g yarn -RUN dotnet publish -c Release -o /build/publish src/Web/Web.csproj +RUN dotnet publish src/Web/Web.csproj -c Release -o /build/publish #########################################################################