diff --git a/Dockerfile b/Dockerfile index fc413f1..b2384b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /App COPY . ./ -RUN dotnet restore +RUN dotnet restore Platforms/Server RUN dotnet publish Platforms/Server -c Release -r linux-musl-x64 --self-contained true -o out FROM alpine:latest @@ -13,4 +13,4 @@ COPY --from=build /App/out . RUN apk add --no-cache icu-libs -ENTRYPOINT ["./Server"] +ENTRYPOINT ["./MyUniverse"]