fix: broken dockerfile
This commit is contained in:
@@ -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
|
WORKDIR /App
|
||||||
COPY . ./
|
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
|
RUN dotnet publish Platforms/Server -c Release -r linux-musl-x64 --self-contained true -o out
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
@@ -13,4 +13,4 @@ COPY --from=build /App/out .
|
|||||||
|
|
||||||
RUN apk add --no-cache icu-libs
|
RUN apk add --no-cache icu-libs
|
||||||
|
|
||||||
ENTRYPOINT ["./Server"]
|
ENTRYPOINT ["./MyUniverse"]
|
||||||
|
|||||||
Reference in New Issue
Block a user