Skip to content

Commit

Permalink
测试官方镜像2
Browse files Browse the repository at this point in the history
  • Loading branch information
bios000 committed Mar 3, 2023
1 parent f995fa0 commit 0d0e4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ RUN apk add --no-cache tzdata \

ADD . /Antenna
WORKDIR /Antenna
WORKDIR /etc/supervisor.d

COPY /conf/antenna.ini /etc/supervisor.d/antenna.ini

#RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip3 install -r /Antenna/requirements.txt

Expand Down
2 changes: 2 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ python3 manage.py crontab add
echo "crontab add success!"
#python3 manage.py runserver 0.0.0.0:80
echo "mv success!"
mkdir /etc/supervisor.d
mv conf/antenna.ini /etc/supervisor.d/antenna.ini
unlink /run/supervisor/supervisor.sock
supervisord -n -c /etc/supervisord.conf

0 comments on commit 0d0e4c9

Please sign in to comment.