You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
595 B
14 lines
595 B
FROM mono:5
|
|
WORKDIR /root/build
|
|
COPY DiscordChatExporter.sln favicon.ico ./
|
|
COPY DiscordChatExporter.Core DiscordChatExporter.Core
|
|
COPY DiscordChatExporter.Core.Markdown DiscordChatExporter.Core.Markdown
|
|
COPY DiscordChatExporter.Cli DiscordChatExporter.Cli
|
|
RUN msbuild ./DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj /t:Restore
|
|
RUN msbuild ./DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj /p:Configuration=Release
|
|
|
|
FROM mono:5
|
|
COPY --from=0 /root/build/DiscordChatExporter.Cli/bin/Release/net461 /root/bin
|
|
WORKDIR /a
|
|
ENTRYPOINT ["mono", "/root/bin/DiscordChatExporter.Cli.exe"]
|