Skip to content

Instantly share code, notes, and snippets.

@Andersoft
Created June 2, 2022 18:07
Show Gist options
  • Save Andersoft/cc852eecd3af0f07d2b152fb057d4174 to your computer and use it in GitHub Desktop.
Save Andersoft/cc852eecd3af0f07d2b152fb057d4174 to your computer and use it in GitHub Desktop.
FROM base AS build
WORKDIR /app
ARG project
COPY ./ .
RUN dotnet restore
RUN dotnet build -c Release --no-restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment