Skip to content

Commit

Permalink
Merge branch 'master' into update-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Apr 15, 2024
2 parents 15a19b2 + 2f68d48 commit 1af3e97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions osu.Server.DifficultyCalculator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /app

# Handle project files and dependencies first for caching benefits
Expand All @@ -16,7 +16,7 @@ RUN dotnet publish -c Release -o out
RUN rm -rf ./out/runtimes ./out/osu.Game.Resources.dll

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:6.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app
COPY --from=build-env /app/osu.Server.DifficultyCalculator/out .
ENTRYPOINT ["dotnet", "osu.Server.DifficultyCalculator.dll"]
4 changes: 2 additions & 2 deletions osu.Server.Queues.BeatmapProcessor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /app

# Handle project files and dependencies first for caching benefits
Expand All @@ -16,7 +16,7 @@ RUN dotnet publish -c Release -o out
RUN rm -rf ./out/runtimes ./out/osu.Game.Resources.dll

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:6.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app
COPY --from=build-env /app/osu.Server.Queues.BeatmapProcessor/out .
ENTRYPOINT ["dotnet", "osu.Server.Queues.BeatmapProcessor.dll"]

0 comments on commit 1af3e97

Please sign in to comment.