mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
Standardize paths in docker
This commit is contained in:
parent
6a71c59b6d
commit
6f5f747632
|
|
@ -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"]
|
||||||
Loading…
Reference in a new issue