major update
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env
|
||||
|
||||
WORKDIR /App
|
||||
|
||||
COPY . ./
|
||||
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime:7.0
|
||||
|
||||
WORKDIR /App
|
||||
|
||||
COPY --from=build-env /App/out .
|
||||
|
||||
ENTRYPOINT ["Ragon.Relay"]
|
||||
Reference in New Issue
Block a user