From b1f6d1ce144c845e249150331df7fa381cd2a063 Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 18 Mar 2021 18:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0102fb1f..e7d8030b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,6 +23,10 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories perl \ openssl \ nginx \ + python \ + make \ + g++ \ + yarn \ && rm -rf /var/cache/apk/* \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \ @@ -31,7 +35,6 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && git clone -b ${JD_BASE_BRANCH} ${JD_BASE_URL} ${JD_DIR} \ && cd ${JD_DIR} \ && cp -f .env.example .env \ - && curl -o- -L https://yarnpkg.com/install.sh | bash \ && yarn install \ && yarn build \ && yarn build-back \