First commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
|
||||
WORKDIR /src
|
||||
COPY ./ /src
|
||||
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:10.0
|
||||
|
||||
WORKDIR /
|
||||
|
||||
EXPOSE 4255
|
||||
|
||||
COPY --from=build /src/out /app
|
||||
COPY --from=build /src/wwwroot /wwwroot
|
||||
|
||||
ENTRYPOINT ["/app/TYTD2025Companion"]
|
||||
Reference in New Issue
Block a user