|
|
@ -1,5 +1,5 @@
|
|
|
|
# Build
|
|
|
|
# Build
|
|
|
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
|
|
|
|
WORKDIR /src
|
|
|
|
WORKDIR /src
|
|
|
|
|
|
|
|
|
|
|
|
COPY favicon.ico ./
|
|
|
|
COPY favicon.ico ./
|
|
|
@ -10,7 +10,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 mcr.microsoft.com/dotnet/core/runtime:3.1 AS run
|
|
|
|
FROM mcr.microsoft.com/dotnet/runtime:3.1 AS run
|
|
|
|
WORKDIR /app
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
|
|
COPY --from=build /src/DiscordChatExporter.Cli/publish ./
|
|
|
|
COPY --from=build /src/DiscordChatExporter.Cli/publish ./
|
|
|
|