🚀 use dist from local

This commit is contained in:
tj-14 2022-03-17 16:52:26 +07:00
parent 8dda05d8d7
commit f05fb6b774

View File

@ -11,8 +11,8 @@ RUN apk add --update --no-cache build-base nginx openssl curl unzip supervisor j
pip install --no-cache-dir -r /app/deploy/requirements.txt && \ pip install --no-cache-dir -r /app/deploy/requirements.txt && \
apk del build-base --purge apk del build-base --purge
RUN curl -L $(curl -s https://api.github.com/repos/QingdaoU/OnlineJudgeFE/releases/latest | grep /dist.zip | cut -d '"' -f 4) -o dist.zip && \ # RUN curl -L $(curl -s https://api.github.com/repos/QingdaoU/OnlineJudgeFE/releases/latest | grep /dist.zip | cut -d '"' -f 4) -o dist.zip && \
unzip dist.zip && \ # unzip dist.zip && \
rm dist.zip # rm dist.zip
ENTRYPOINT /app/deploy/entrypoint.sh ENTRYPOINT /app/deploy/entrypoint.sh