From 80157fcf5829b344c024a4572de96d94067434a1 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 24 Feb 2024 12:54:20 +0100 Subject: [PATCH] Fixed docker build. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c2393c3f1..928334216 100644 --- a/Dockerfile +++ b/Dockerfile @@ -108,7 +108,7 @@ FROM build as development COPY --chown=etherpad:etherpad ./src/package.json .npmrc ./src/pnpm-lock.yaml ./src/ COPY --chown=etherpad:etherpad --from=adminBuild /opt/etherpad-lite/admin/dist ./src/templates/admin -RUN src/bin/installDeps.sh %% \ +RUN ./bin/installDeps.sh %% \ { [ -z "${ETHERPAD_PLUGINS}" ] || pnpm run install-plugins --prefix ./src ${ETHERPAD_PLUGINS}; } FROM build as production @@ -119,7 +119,7 @@ ENV ETHERPAD_PRODUCTION=true COPY --chown=etherpad:etherpad ./src ./src COPY --chown=etherpad:etherpad --from=adminBuild /opt/etherpad-lite/admin/dist ./src/templates/admin -RUN src/bin/installDeps.sh && rm -rf ~/.npm && \ +RUN ./bin/installDeps.sh && rm -rf ~/.npm && \ { [ -z "${ETHERPAD_PLUGINS}" ] || pnpm run install-plugins ./src ${ETHERPAD_PLUGINS}; }