fix: Docker build with Yarn 4 (#11031)

* Add missing corepack

* Serialize plugin gen to protect memory

* fix: Missing Yarn4 config

* Prune dev deps
This commit is contained in:
Tom Moor
2025-12-31 22:29:25 -05:00
committed by GitHub
parent 755833c64c
commit c3b91a8441
4 changed files with 23 additions and 21 deletions
+2
View File
@@ -32,6 +32,8 @@ RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*
RUN corepack enable
ENV FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data
RUN mkdir -p "$FILE_STORAGE_LOCAL_ROOT_DIR" && \
chown -R nodejs:nodejs "$FILE_STORAGE_LOCAL_ROOT_DIR" && \