From 09a56525566a2d7abacd3debff5c73832ec42176 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 10 Mar 2024 21:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c033e933..c21f1282 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -27,6 +27,9 @@ VOLUME /ql/data EXPOSE 5700 +COPY --from=builder /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ +COPY --from=builder /usr/local/bin/. /usr/local/bin/ + RUN set -x \ && apk update -f \ && apk upgrade \ @@ -70,7 +73,6 @@ RUN git clone --depth=1 -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \ && rm -rf /static COPY --from=builder /tmp/build/node_modules/. /ql/node_modules/ -COPY --from=builder /usr/local/lib/node_modules/. /usr/local/lib/node_modules/ WORKDIR ${QL_DIR}