Skip to content

Commit

Permalink
Limit CPU count?
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Oct 10, 2024
1 parent f12de37 commit 5e336cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nethermind/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
RUN TARGETARCH=${TARGETARCH#linux/} && \
arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || echo "$TARGETARCH") && \
echo "Using architecture: $arch" && \
dotnet publish src/Nethermind/Nethermind.Runner -c $BUILD_CONFIG -a $arch -o /publish --sc false
dotnet publish src/Nethermind/Nethermind.Runner -c $BUILD_CONFIG -a $arch -maxcpucount 1 -o /publish --sc false


FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble
Expand Down

0 comments on commit 5e336cb

Please sign in to comment.