Files
Regression-Testing/Dockerfile
Claire Kuang b1872be922
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
renames to SpeckleAutomateDotnetExample
2024-01-30 21:03:28 +00:00

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 .