Update dockerfile

pull/236/head
Alexey Golub 5 years ago
parent ccbd11e526
commit 5e0a2c6761

@ -1,5 +1,5 @@
# Build # Build
FROM microsoft/dotnet:3.0-sdk AS build FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
WORKDIR /src WORKDIR /src
COPY favicon.ico ./ COPY favicon.ico ./
@ -13,7 +13,7 @@ COPY DiscordChatExporter.Cli DiscordChatExporter.Cli
RUN dotnet publish DiscordChatExporter.Cli -o DiscordChatExporter.Cli/publish -c Release RUN dotnet publish DiscordChatExporter.Cli -o DiscordChatExporter.Cli/publish -c Release
# Run # Run
FROM microsoft/dotnet:3.0-runtime AS run FROM mcr.microsoft.com/dotnet/core/runtime:3.0 AS run
WORKDIR /app WORKDIR /app
COPY --from=build /src/DiscordChatExporter.Cli/publish ./ COPY --from=build /src/DiscordChatExporter.Cli/publish ./

Loading…
Cancel
Save