Skip to content

Instantly share code, notes, and snippets.

@aetos382
Last active April 10, 2019 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aetos382/b47a1b0a74b72449611c9bf9cf9a7191 to your computer and use it in GitHub Desktop.
Save aetos382/b47a1b0a74b72449611c9bf9cf9a7191 to your computer and use it in GitHub Desktop.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<DotNetCliToolReference Include="Swashbuckle.AspNetCore.Cli" Version="5.0.0-rc2" />
</ItemGroup>
</Project>
FROM mcr.microsoft.com/dotnet/core/sdk:2.2.203
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
WORKDIR /build
COPY ConsoleApp1.csproj .
RUN dotnet restore
CMD ["dotnet", "swagger"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment