Init Repo
This commit is contained in:
parent
83c4a0bcb7
commit
878674d980
8
DockerMultiStage.csproj
Normal file
8
DockerMultiStage.csproj
Normal file
@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM microsoft/dotnet:2.2-sdk
|
||||
COPY . ./docker-test
|
||||
WORKDIR /docker-test/
|
||||
RUN dotnet build -c Release
|
||||
ENTRYPOINT ["dotnet", "run", "-c", "Release", "--no-build"]
|
12
Program.cs
Normal file
12
Program.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace DockerMultiStage
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hola Mundo al Estilo Docker !!!");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user