From 8359770bba0404fb3d6b13fcd79af63bd475a02e Mon Sep 17 00:00:00 2001 From: tc-imba Date: Mon, 22 Jul 2019 13:21:04 +0800 Subject: [PATCH] fix: Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf58b093..28cd5bc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN pip3 install -r ./requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simp # Build node modules COPY ./vj4/ui /srv/cb4/vj4/ui -RUN npm run build +RUN \. "$NVM_DIR/nvm.sh" && nvm use 9 && npm run build # Copy the cb4 files COPY ./scripts /srv/cb4/scripts