Skip to content

Commit

Permalink
Merge pull request #837 from wayswei/main
Browse files Browse the repository at this point in the history
fix:docker build
  • Loading branch information
nickcdon authored May 26, 2023
2 parents c0a7305 + 80d68da commit 5ee7fee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
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

0 comments on commit 5ee7fee

Please sign in to comment.