423e734d09
* Added random console.writeline statement * and again * try with throw * feat: Automate example now using nuget * fix: update yaml automate action version * fix: Generate schema action step * fix: Logging in example * fix: Mark context run as success * fix: Upgrade of composite automate action * fix: Use correct env var * fix: Again... correct file path * chore: Reorganisation of project * fix: Lock file update * fix: No lock - no cache * fix: cd into project * fix: cd into path... in docker * fix: Copy isolated project folder instead of single files * fix: delete .idea folder * add .idea to gitignore * fix: Remove .idea again * fix: Cleaner kit initialisation * fix: Kit initialization * fix: dev-contaienr * fix: Run restore on creation * test: Docker build * feat: Recommended extensions and devcontainer sync * feat: added dotnet feature
10 lines
335 B
Docker
10 lines
335 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:7.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:7.0 as runtime
|
|
WORKDIR /publish
|
|
COPY --from=build-env /publish . |