Skip to content

Commit

Permalink
Chore/fix authorization dockerfile port and migration folder (#120)
Browse files Browse the repository at this point in the history
* Added K6 tests and removed output integration tests

* changed ignore to folder

* Chore: fix port and migration folder in dockerfile

---------

Co-authored-by: Jon Kjetil Øye <[email protected]>
  • Loading branch information
jonkjetiloye and Jon Kjetil Øye authored Nov 29, 2024
1 parent 0dfb945 commit a105864
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/apps/Altinn.Authorization/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:49723"
"applicationUrl": "http://localhost:5050"
}
},
"profiles": {
Expand All @@ -23,7 +23,7 @@
"applicationUrl": "http://localhost:5050",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://localhost:5070"
"ASPNETCORE_URLS": "http://localhost:5050"
}
}
}
Expand Down

0 comments on commit a105864

Please sign in to comment.