Skip to content

Commit

Permalink
Update Dockerfile updates (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: projectorigin-renovate[bot] <150237208+projectorigin-renovate[bot]@users.noreply.github.com>
  • Loading branch information
projectorigin-renovate[bot] committed Aug 14, 2024
1 parent 3b83a0a commit 43e17fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProjectOrigin.Registry.Server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.303 AS build
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0.400 AS build

WORKDIR /src

Expand All @@ -12,7 +12,7 @@ RUN dotnet build ProjectOrigin.Registry.Server -c Release --no-restore -o /app/b
RUN dotnet publish ProjectOrigin.Registry.Server -c Release -o /app/publish

# ------- production image -------
FROM mcr.microsoft.com/dotnet/aspnet:8.0.7 AS production
FROM mcr.microsoft.com/dotnet/aspnet:8.0.8 AS production

ENV USER=dotnetuser
RUN groupadd -r "$USER" && useradd -r -g "$USER" "$USER"
Expand Down

0 comments on commit 43e17fe

Please sign in to comment.