Init Repo

This commit is contained in:
Jose Pino 2018-12-27 10:24:05 -03:00
parent 83c4a0bcb7
commit 878674d980
3 changed files with 25 additions and 0 deletions

8
DockerMultiStage.csproj Normal file
View File

@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
</Project>

5
Dockerfile Normal file
View 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
View File

@ -0,0 +1,12 @@
using System;
namespace DockerMultiStage
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hola Mundo al Estilo Docker !!!");
}
}
}