-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use non-root users in Dockerfiles (#440)
* feat: use 'app' user in production images * chore: run debug containers on port 8080 * ci: use new port in docker-compose.test.yml * fix: expose correct port * ci: fix health check in docker-compose.test.yml * feat: change port inthe helm chart's values.yaml
- Loading branch information
Showing
7 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0 | ||
EXPOSE 80 | ||
EXPOSE 8080 | ||
|
||
WORKDIR /app | ||
|
||
ENV ASPNETCORE_URLS=http://0.0.0.0:80 | ||
ENV ASPNETCORE_URLS=http://0.0.0.0:8080 | ||
|
||
ENTRYPOINT ["dotnet", "watch", "--non-interactive", "--project", "AdminUi/src/AdminUi/AdminUi.csproj"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0 | ||
|
||
EXPOSE 80 | ||
EXPOSE 8080 | ||
|
||
WORKDIR /app | ||
|
||
ENV ASPNETCORE_URLS=http://0.0.0.0:80 | ||
ENV ASPNETCORE_URLS=http://0.0.0.0:8080 | ||
|
||
ENTRYPOINT ["dotnet", "watch", "--non-interactive", "--project", "ConsumerApi/ConsumerApi.csproj"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters