mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
🚀 use dist from local
This commit is contained in:
parent
8dda05d8d7
commit
f05fb6b774
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user