Skip to content

Commit 1c5f3ce

Browse files
author
lijianguo
committed
chore(passport): upgrade requirements
1 parent 38617c0 commit 1c5f3ce

4 files changed

Lines changed: 12 additions & 27 deletions

File tree

rootfs/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ FROM node:16-alpine3.14 as build-app
33
ADD web /app
44
WORKDIR /app
55

6-
RUN echo 'http://mirrors.aliyun.com/alpine/v3.4/main' > /etc/apk/repositories \
7-
&& npm install \
8-
&& yarn build
6+
RUN npm install \
7+
&& yarn build
98

109

1110
FROM docker.io/library/python:3.9-alpine

rootfs/api/settings/production.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
"""
22
Django settings for passport project.
3-
43
Generated by 'django-admin startproject' using Django 2.2.18.
5-
64
For more information on this file, see
75
https://docs.djangoproject.com/en/2.2/topics/settings/
8-
96
For the full list of settings and their values, see
107
https://docs.djangoproject.com/en/2.2/ref/settings/
118
"""
@@ -101,7 +98,6 @@
10198
'corsheaders',
10299
'guardian',
103100
'gunicorn',
104-
'jsonfield',
105101
'rest_framework',
106102
'rest_framework.authtoken',
107103
'oauth2_provider',

rootfs/api/templates/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

rootfs/requirements.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Drycc passport requirements
2-
django==2.2.18
3-
django-auth-ldap==2.2.0
2+
django==3.2.5
3+
django-auth-ldap==3.0.0
44
django-cors-headers==3.7.0
5-
django-guardian==2.3.0
6-
djangorestframework==3.11.0
7-
gunicorn==20.0.4
8-
jsonfield==3.1.0
9-
psycopg2-binary==2.8.5
10-
requests==2.24.0
5+
django-guardian==2.4.0
6+
djangorestframework==3.12.4
7+
gunicorn==20.1.0
8+
psycopg2-binary==2.9.1
9+
requests==2.26.0
1110
requests-toolbelt==0.9.1
12-
django_redis==4.12.1
11+
django_redis==5.0.0
1312
dj-database-url==0.5.0
1413
django-oauth-toolkit==1.5.0
15-
whitenoise==5.3.0
14+
whitenoise==5.3.0
15+

0 commit comments

Comments
 (0)