18 lines
376 B
Docker
Raw Normal View History

2019-07-23 10:26:33 +02:00
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS base
2017-04-28 15:04:38 +02:00
WORKDIR /app
EXPOSE 80
2019-07-23 10:26:33 +02:00
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
WORKDIR /src
2019-04-12 19:45:45 +01:00
COPY . .
WORKDIR /src/Services/Payment/Payment.API
2019-04-13 08:23:40 +01:00
RUN dotnet publish -c Release -o /app
FROM build AS publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app .
2017-04-28 15:04:38 +02:00
ENTRYPOINT ["dotnet", "Payment.API.dll"]