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

Updated dependencies version to fix vulnerability #696

Merged
merged 2 commits into from
Oct 3, 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
2 changes: 1 addition & 1 deletion docker/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.0b3-alpine
FROM python:3.12.0rc2-alpine

RUN apk update && \
apk add --update --virtual build-deps gcc libc-dev linux-headers && \
Expand Down
2 changes: 1 addition & 1 deletion docker/development/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.0b3-alpine
FROM python:3.12.0rc2-alpine

RUN apk update && \
apk add --update --virtual build-deps gcc libc-dev linux-headers && \
Expand Down
11 changes: 8 additions & 3 deletions docker/proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10.7-alpine
FROM python:3.12.0rc2-alpine

RUN apk update && \
apk add --update --virtual build-deps gcc libc-dev linux-headers && \
Expand All @@ -14,10 +14,15 @@ RUN ["python", "manage.py", "collectstatic"]

CMD [ "gunicorn", "web.wsgi", "-b 0.0.0.0:8000" ]

FROM nginx:alpine
FROM nginx:1.25.2-alpine3.18

RUN apk update && apk upgrade

# Install the fixed versions of libwebp and curl
RUN apk add libwebp=1.3.2-r0 curl=8.3.0-r0

COPY docker/proxy/default.conf /etc/nginx/conf.d/
COPY docker/proxy/nginx.conf /etc/nginx/
COPY --from=0 /usr/src/app/static /var/www/static

USER nginx
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ asgiref~=3.3
backports.functools-lru-cache>=1.6.4
beautifulsoup4==4.9.3
cached-property==1.5.2
certifi==2022.12.7
certifi==2023.7.22
chardet==4.0.0
Django==4.2.3
Django==4.2.5
django-environ==0.4.5
django-extensions==3.1.1
django-livereload-server~=0.3
Expand All @@ -13,15 +13,15 @@ django-tailwind~=3.3.0
django-widget-tweaks~=1.4
idna==2.10
importlib-metadata>=6.6.0
Pillow==9.4.0
Pillow==10.0.1
psycopg2==2.9.6
pytz==2023.3
requests==2.31.0
six==1.16.0
soupsieve~=2.2
sqlparse==0.4.4
stripe==5.4.0
tornado==6.3.2
tornado==6.3.3
urllib3>=1.26.5
celery==5.2.2
django-clacks>=0.1.0
Expand Down
Loading