Move adding jemalloc to preload to last build step
This commit is contained in:
parent
66dbd4bac8
commit
4a13085f99
|
@ -20,12 +20,12 @@ RUN apt-get update && \
|
||||||
python3 \
|
python3 \
|
||||||
libjemalloc-dev \
|
libjemalloc-dev \
|
||||||
build-essential \
|
build-essential \
|
||||||
&& find /usr/ -name "*jemalloc.so" > /etc/ld.so.preload \
|
|
||||||
&& yarn --version\
|
&& yarn --version\
|
||||||
&& yarn workspaces focus server\
|
&& yarn workspaces focus server\
|
||||||
&& yarn workspace server build \
|
&& yarn workspace server build \
|
||||||
&& yarn cache clean --all \
|
&& yarn cache clean --all \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& find /usr/ -name "*jemalloc.so" > /etc/ld.so.preload
|
||||||
|
|
||||||
VOLUME ["/images", "/db"]
|
VOLUME ["/images", "/db"]
|
||||||
ENV IMAGE_DIR="/images"
|
ENV IMAGE_DIR="/images"
|
||||||
|
|
Loading…
Reference in New Issue