Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:docker build #837

Merged
merged 1 commit into from
May 26, 2023
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
7 changes: 4 additions & 3 deletions server/dockerconfs/Dockerfile-nginx-mirror
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM nginx:1.13.7

RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && \
echo 'deb http://mirrors.tencent.com/debian/ stretch main' > /etc/apt/sources.list && \
echo 'deb http://mirrors.tencent.com/debian/ stretch-updates main' >> /etc/apt/sources.list && \
echo 'deb http://mirrors.tencent.com/debian-archive/debian/ stretch main' > /etc/apt/sources.list && \
echo 'deb http://mirrors.tencent.com/debian-archive/debian-security/ stretch/updates main' >> /etc/apt/sources.list && \
echo 'deb http://nginx.org/packages/mainline/debian/ stretch nginx' >> /etc/apt/sources.list

RUN apt-get update && apt-get install -y unzip procps && rm /etc/nginx/conf.d/default.conf
RUN apt-get update && apt-get install -y unzip procps && rm /etc/nginx/conf.d/default.conf

2 changes: 1 addition & 1 deletion server/projects/analysis/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pygments==2.8.1
drf-yasg==1.17.0

# for file upload and download
urllib3==1.26.7
urllib3==1.26.11

django-filter==2.4.0

Expand Down
2 changes: 1 addition & 1 deletion server/projects/main/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rsa==4.7.2
django-guardian==2.3.0

# for file upload and download
urllib3==1.26.7
urllib3==1.26.11

# for database import and export module
django-import-export==2.5.0
Expand Down
2 changes: 1 addition & 1 deletion server/projects/scmproxy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
urllib3==1.26.7
urllib3==1.26.11

psutil==5.8.0

Expand Down