This commit is contained in:
顾风 2021-03-23 00:25:17 +08:00 committed by GitHub
parent d41eb582e4
commit c810c1ad10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ 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 \
&& yarn --network-timeout 100000
&& yarn install --network-timeout 100000
FROM node:lts-alpine
LABEL maintainer="whyour"
ARG JD_BASE_URL=https://github.com.cnpmjs.org/whyour/qinglong
@ -75,4 +75,4 @@ RUN cd ${JD_DIR} \
&& npm install -g pm2 \
&& rm -rf /root/.npm
WORKDIR ${JD_DIR}
ENTRYPOINT bash ${JD_DIR}/docker/docker-entrypoint.sh
ENTRYPOINT bash ${JD_DIR}/docker/docker-entrypoint.sh