Update Dockerfile

Co-authored-by: Arthri <41360489+Arthri@users.noreply.github.com>
This commit is contained in:
Luke 2025-01-29 07:19:13 +10:00 committed by GitHub
parent f3e0d04758
commit d2030991c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ RUN \
dotnet publish -o output/ -r "${ARCH}" -v m -f net9.0 -c Release -p:PublishSingleFile=true --self-contained false dotnet publish -o output/ -r "${ARCH}" -v m -f net9.0 -c Release -p:PublishSingleFile=true --self-contained false
# Runtime image # Runtime image
FROM --platform=${TARGETPLATFORM} mcr.microsoft.com/dotnet/runtime:6.0 AS runner FROM --platform=${TARGETPLATFORM} mcr.microsoft.com/dotnet/runtime:9.0 AS runner
WORKDIR /server WORKDIR /server
COPY --from=builder /TShock/TShockLauncher/output ./ COPY --from=builder /TShock/TShockLauncher/output ./