FROM microsoft/aspnetcore # Other .NET images # FROM microsoft/dotnet:1.0.0-preview2-sdk # FROM microsoft/dotnet:1.0.0-core # FROM microsoft/aspnetcore # FROM microsoft/dotnet:1.0.0-preview2-windowsservercore-sdk WORKDIR /app EXPOSE 80 # Configure the listening port to 80 # ENV ASPNETCORE_URLS http://*:80 ADD . /app # COPY . /app # Entry point through the copied assembly ENTRYPOINT dotnet Ordering.API.dll ################# # Entry point running the SDK --> Requires heavy Docker .NET image, not for production # Restore NuGet packages #RUN ["dotnet", "restore"] # Build the .NET Core app #RUN ["dotnet", "build"] # Entrypoint #ENTRYPOINT ["dotnet", "run"] #################