Skip to content

Instantly share code, notes, and snippets.

View NilsMoller's full-sized avatar

Nils NilsMoller

  • Plate
  • Netherlands
  • 05:36 (UTC +01:00)
View GitHub Profile
2021-02-17T13:28:05.264824+00:00 app[web.1]: at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
2021-02-17T13:28:05.264824+00:00 app[web.1]: at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
2021-02-17T13:28:05.264824+00:00 app[web.1]: at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2021-02-17T13:28:05.264825+00:00 app[web.1]: at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build
WORKDIR /src
COPY ["API.csproj", ""]
PS D:\Work\Projects\Git_repos\proep-spring-2021\API> docker build -t proepapi . [+] Building 0.5s (18/18) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 684B 0.0s
=> [internal] load .dockerignore