File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,18 @@ COPY ["DisBot-Helper-Bot/DisBot-Helper-Bot.csproj", "DisBot-Helper-Bot/"]
88RUN dotnet restore "DisBot-Helper-Bot/DisBot-Helper-Bot.csproj"
99COPY . .
1010WORKDIR "/src/DisBot-Helper-Bot"
11- RUN dotnet publish "./DisBot-Helper-Bot.csproj" -c $BUILD_CONFIGURATION -r linux-x64 --self-contained true -p:PublishReadyToRun=true -p:PublishSingleFile=true -o /app/publish /p:UseAppHost=false
11+ RUN dotnet publish "./DisBot-Helper-Bot.csproj" -c Release -r linux-x64 \
12+ --self-contained true \
13+ -p:PublishReadyToRun=true \
14+ -p:PublishSingleFile=true \
15+ -o /app/publish
1216FROM build AS publish
1317ARG BUILD_CONFIGURATION=Release
14- RUN dotnet publish "./DisBot-Helper-Bot.csproj" -c $BUILD_CONFIGURATION -r linux-x64 --self-contained true -p:PublishReadyToRun=true -p:PublishSingleFile=true -o /app/publish /p:UseAppHost=false
18+ RUN dotnet publish "./DisBot-Helper-Bot.csproj" -c Release -r linux-x64 \
19+ --self-contained true \
20+ -p:PublishReadyToRun=true \
21+ -p:PublishSingleFile=true \
22+ -o /app/publish
1523FROM base AS final
1624WORKDIR /app
1725COPY --from=publish /app/publish .
You can’t perform that action at this time.
0 commit comments