mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
更新Dockerfile
This commit is contained in:
parent
f803013846
commit
b1f6d1ce14
|
@ -23,6 +23,10 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
perl \
|
perl \
|
||||||
openssl \
|
openssl \
|
||||||
nginx \
|
nginx \
|
||||||
|
python \
|
||||||
|
make \
|
||||||
|
g++ \
|
||||||
|
yarn \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||||
&& echo "Asia/Shanghai" > /etc/timezone \
|
&& 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} \
|
&& git clone -b ${JD_BASE_BRANCH} ${JD_BASE_URL} ${JD_DIR} \
|
||||||
&& cd ${JD_DIR} \
|
&& cd ${JD_DIR} \
|
||||||
&& cp -f .env.example .env \
|
&& cp -f .env.example .env \
|
||||||
&& curl -o- -L https://yarnpkg.com/install.sh | bash \
|
|
||||||
&& yarn install \
|
&& yarn install \
|
||||||
&& yarn build \
|
&& yarn build \
|
||||||
&& yarn build-back \
|
&& yarn build-back \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user