Update Dockerfile
Co-authored-by: Arthri <41360489+Arthri@users.noreply.github.com>
This commit is contained in:
parent
f3e0d04758
commit
d2030991c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ./
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue