mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-29 17:23:04 +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.
|
# we can build the assembly for the correct platform.
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
WORKDIR /tmp/dce
|
WORKDIR /tmp/app
|
||||||
|
|
||||||
COPY favicon.ico .
|
COPY favicon.ico .
|
||||||
COPY NuGet.config .
|
COPY NuGet.config .
|
||||||
@@ -46,7 +46,7 @@ ENV LANG=en_US.UTF-8
|
|||||||
# stays the same for backwards compatibility.
|
# stays the same for backwards compatibility.
|
||||||
WORKDIR /out
|
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
|
USER $APP_UID
|
||||||
ENTRYPOINT ["/opt/dce/DiscordChatExporter.Cli"]
|
ENTRYPOINT ["/opt/app/DiscordChatExporter.Cli"]
|
||||||
Reference in New Issue
Block a user