mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 03:06:53 -04:00
Update dockerfile
This commit is contained in:
parent
af9855fc15
commit
a63bf95212
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@ COPY DiscordChatExporter.Core.Markdown DiscordChatExporter.Core.Markdown
|
|||
COPY DiscordChatExporter.Core DiscordChatExporter.Core
|
||||
COPY DiscordChatExporter.Cli DiscordChatExporter.Cli
|
||||
|
||||
RUN dotnet build DiscordChatExporter.Cli -c Release -f netcoreapp2.1
|
||||
RUN dotnet publish DiscordChatExporter.Cli -c Release -f netcoreapp2.1
|
||||
|
||||
# Run
|
||||
FROM microsoft/dotnet:2.1-runtime AS run
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /src/DiscordChatExporter.Cli/bin/Release/netcoreapp2.1 ./
|
||||
COPY --from=build /src/DiscordChatExporter.Cli/bin/Release/netcoreapp2.1/publish ./
|
||||
|
||||
ENTRYPOINT ["dotnet", "DiscordChatExporter.Cli.dll"]
|
||||
CMD ["-o", "out/"]
|
Loading…
Add table
Add a link
Reference in a new issue