Files
Jedd Morgan f7d1420687 feat: Updated template to v3 (#30)
* First pass

* comments

* Updated CI

* Use nuget

* Nowarn NETSDK1206

* bump automate compose

* Bump automate sdk

* bump dockerfile

* bump sdk again
2025-06-10 11:04:06 +02:00

10 lines
335 B
Docker

FROM mcr.microsoft.com/dotnet/sdk:8.0 as build-env
WORKDIR /src
COPY SpeckleAutomateDotnetExample/ .
RUN dotnet restore --use-current-runtime
RUN dotnet publish --use-current-runtime --self-contained false --no-restore -o /publish
FROM mcr.microsoft.com/dotnet/runtime:8.0 as runtime
WORKDIR /publish
COPY --from=build-env /publish .