Skip to content

Commit

Permalink
restore is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanBout committed Nov 25, 2024
1 parent 019b0eb commit 4fe39d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimpleCDN/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN dotnet build "./SimpleCDN.csproj" --no-restore -c $BUILD_CONFIGURATION -r $D
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
ARG DOTNET_BUILD_PLATFORM=linux-x64
RUN dotnet publish "./SimpleCDN.csproj" --no-restore -c $BUILD_CONFIGURATION -r $DOTNET_BUILD_PLATFORM -o /app/publish /p:UseAppHost=false
RUN dotnet publish "./SimpleCDN.csproj" -c $BUILD_CONFIGURATION -r $DOTNET_BUILD_PLATFORM -o /app/publish /p:UseAppHost=false

# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
FROM base AS final
Expand Down

0 comments on commit 4fe39d9

Please sign in to comment.