Skip to content

Commit

Permalink
gomaxprocs gogc
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Dec 29, 2024
1 parent 37d985b commit 684e2db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN cd /tmp && \
--strip \
--prefix=/usr/local \
--libdir=lib \
--optimization=3 \
-Dgtk_doc=false \
-Dmagick=disabled \
-Dintrospection=disabled && \
Expand Down Expand Up @@ -90,7 +91,9 @@ RUN addgroup --system nonroot && \
ENV VIPS_WARNING=0 \
MALLOC_ARENA_MAX=2 \
LD_PRELOAD=/usr/local/lib/libjemalloc.so \
PORT=8080
PORT=8080 \
GOGC=100 \
GOMAXPROCS=4

EXPOSE ${PORT}
USER nonroot:nonroot
Expand Down

0 comments on commit 684e2db

Please sign in to comment.