Fix corepack yarn install for build

This commit is contained in:
2026-05-29 20:22:40 +02:00
parent f07212337f
commit e4db4fe458
+2 -1
View File
@@ -18,7 +18,8 @@ COPY server-ce/genScript.js server-ce/services.js /overleaf/
# Corepack setup, shared between all the images.
ENV PATH="/overleaf/node_modules/.bin:$PATH"
ENV COREPACK_HOME=/opt/corepack
RUN corepack enable && corepack install -g yarn@4.14.1
#RUN corepack enable && corepack install -g yarn@4.14.1
RUN corepack enable && corepack prepare yarn@4.14.1 --activate
ENV COREPACK_ENABLE_NETWORK=0
# Install yarn dependencies