Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -ex && cd / \
&& ln -sf /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime

RUN pip install -U setuptools pip \
&& pip install gunicorn==20.1.0 celery==5.2.3 supervisor==4.2.4
&& pip install gunicorn==23.0.0 celery==5.2.3 supervisor==4.2.4

COPY ./ /CodeAnalysis/
WORKDIR /CodeAnalysis/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ function install_python(){
echo '完成!'

## for server deploy
info '安装 [pip install gunicorn==20.1.0] 并生成软链'
pip install gunicorn==20.1.0
info '安装 [pip install gunicorn==23.0.0] 并生成软链'
pip install gunicorn==23.0.0
ln -s /usr/local/python3/bin/gunicorn /usr/local/bin/gunicorn
echo -e "\033[1;42;37m[$(date "+%Y/%m/%d %H:%M:%S")] [Check]: 检查 gunicorn\033[0m"
gunicorn -v
Expand Down
2 changes: 1 addition & 1 deletion server/configs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# All server requirements
# server deploy
gunicorn==22.0.0
gunicorn==23.0.0

# for django
Django==3.2.25
Expand Down
2 changes: 1 addition & 1 deletion server/projects/analysis/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Analysis Server Requirements
# server deploy
gunicorn==22.0.0
gunicorn==23.0.0

# for django
Django==3.2.25
Expand Down
2 changes: 1 addition & 1 deletion server/projects/file/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File Server Requirements
# for server deploy
gunicorn==22.0.0
gunicorn==23.0.0

# for django
Django==3.2.25
Expand Down
2 changes: 1 addition & 1 deletion server/projects/login/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Login Server Requirements
# server deploy
gunicorn==22.0.0
gunicorn==23.0.0

# for django
Django==3.2.25
Expand Down
2 changes: 1 addition & 1 deletion server/projects/main/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Main Server Requirements
# for server deploy
gunicorn==22.0.0
gunicorn==23.0.0

# for django
Django==3.2.25
Expand Down