diff --git a/src/apps/Altinn.Authorization/Dockerfile b/src/apps/Altinn.Authorization/Dockerfile index 6d034091..4aafaf04 100644 --- a/src/apps/Altinn.Authorization/Dockerfile +++ b/src/apps/Altinn.Authorization/Dockerfile @@ -6,10 +6,12 @@ WORKDIR /src/apps/Altinn.Authorization/src/Altinn.Authorization RUN dotnet publish -c Release -o /app FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final -EXPOSE 5110 +EXPOSE 5050 WORKDIR /app COPY --from=build /app . +COPY src/apps/Altinn.Authorization/src/Altinn.Authorization/Migration ./Migration + # setup the user and group # the user will have no password, using shell /bin/false and using the group dotnet RUN addgroup -g 3000 dotnet && adduser -u 1000 -G dotnet -D -s /bin/false dotnet diff --git a/src/apps/Altinn.Authorization/src/Altinn.Authorization/Properties/launchSettings.json b/src/apps/Altinn.Authorization/src/Altinn.Authorization/Properties/launchSettings.json index 76f9f305..db134c18 100644 --- a/src/apps/Altinn.Authorization/src/Altinn.Authorization/Properties/launchSettings.json +++ b/src/apps/Altinn.Authorization/src/Altinn.Authorization/Properties/launchSettings.json @@ -4,7 +4,7 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:49723" + "applicationUrl": "http://localhost:5050" } }, "profiles": { @@ -23,7 +23,7 @@ "applicationUrl": "http://localhost:5050", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", - "ASPNETCORE_URLS": "http://localhost:5070" + "ASPNETCORE_URLS": "http://localhost:5050" } } }