mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-31 23:29:12 +00:00
Standardize paths in docker
This commit is contained in:
@@ -7,7 +7,7 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
||||
# we can build the assembly for the correct platform.
|
||||
ARG TARGETARCH
|
||||
|
||||
WORKDIR /tmp/dce
|
||||
WORKDIR /tmp/app
|
||||
|
||||
COPY favicon.ico .
|
||||
COPY NuGet.config .
|
||||
@@ -46,7 +46,7 @@ ENV LANG=en_US.UTF-8
|
||||
# stays the same for backwards compatibility.
|
||||
WORKDIR /out
|
||||
|
||||
COPY --from=build /tmp/dce/DiscordChatExporter.Cli/bin/publish /opt/dce
|
||||
COPY --from=build /tmp/dce/DiscordChatExporter.Cli/bin/publish /opt/app
|
||||
|
||||
USER $APP_UID
|
||||
ENTRYPOINT ["/opt/dce/DiscordChatExporter.Cli"]
|
||||
ENTRYPOINT ["/opt/app/DiscordChatExporter.Cli"]
|
||||
Reference in New Issue
Block a user