Skip to content

Commit

Permalink
chore(Dockerfile): memory fragmentation workaround
Browse files Browse the repository at this point in the history
kurtmckee/feedparser#287 (comment)
Signed-off-by: Rongrong <i@rong.moe>
  • Loading branch information
Rongronggg9 committed May 27, 2022
1 parent 061cd2a commit 4a5b07a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ RUN \
FROM python:3.10-slim-bullseye as app

ENV PATH="/opt/venv/bin:$PATH" \
PYTHONUNBUFFERED=1
PYTHONUNBUFFERED=1 \
MALLOC_MMAP_THRESHOLD_=131072

WORKDIR /app

Expand Down

0 comments on commit 4a5b07a

Please sign in to comment.