mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Update Dockerfile
Co-authored-by: Markus Machatschek <markus.machatschek@hey.com>
This commit is contained in:
parent
bddf3f96e6
commit
5333edd1db
@ -12,7 +12,7 @@ ENV RUSTFLAGS="-C target-feature=-crt-static"
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
arch="$(dpkg --print-architecture)"; \
|
arch="$(dpkg --print-architecture)"; \
|
||||||
if [ "$arch" = "aarch64" ]; then \
|
if [ "$arch" = "arm64" ]; then \
|
||||||
export JEMALLOC_SYS_WITH_LG_PAGE=16; \
|
export JEMALLOC_SYS_WITH_LG_PAGE=16; \
|
||||||
fi && \
|
fi && \
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
Loading…
Reference in New Issue
Block a user