This repository has been archived on 2021-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blazing-workshop/Dockerfile
Niklas Kapelle 2918fe6b12 initial commit
2020-12-17 16:52:43 +01:00

12 lines
276 B
Docker

FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /app
COPY . /app/
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS runtime
WORKDIR /app
COPY --from=build /app/out ./
EXPOSE 80
ENTRYPOINT ["dotnet", "BlazingPizza.Server.dll"]