Skip to content

Commit

Permalink
Update docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 11, 2024
1 parent f17b0d6 commit a6ac4d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BeatmapDifficultyLookupCache/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

# Copy csproj and restore as distinct layers
Expand All @@ -12,10 +12,10 @@ 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/aspnet:6.0
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY --from=build-env /app/out .
COPY docker docker

# see https://github.com/dotnet/runtime/issues/66707 for issue handling signals on arm64
ENTRYPOINT ["/app/docker/wait_term.sh", "BeatmapDifficultyLookupCache.dll"]
ENTRYPOINT ["/app/docker/wait_term.sh", "BeatmapDifficultyLookupCache.dll"]

0 comments on commit a6ac4d8

Please sign in to comment.