Skip to content

Commit

Permalink
Update to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoBuster committed Oct 21, 2023
1 parent f1d76e8 commit 02e053c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
venv/
backups/
scripts/
static/
docker-compose-debug.yml
media/
*.patch
*.sql
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.11-slim

WORKDIR /usr/src/app

Expand All @@ -10,7 +10,10 @@ HEALTHCHECK --interval=1m --timeout=10s --start-period=1m --retries=3 \

EXPOSE 8000

RUN apt-get install -y gettext
RUN apt-get install -y gettext build-essential postgresql-server-dev-all \
libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev

COPY requirements.txt .
RUN pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## What is this?
This is the official repository for the backend code used by [StudentiUniMi](https://studentiunimi.it)
to operate its website and Telegram groups.
The project is mainly written in Python (>=3.10) and uses [Django](https://www.djangoproject.com) and
The project is mainly written in Python (>=3.11) and uses [Django](https://www.djangoproject.com) and
[python-telegram-bot](https://python-telegram-bot.readthedocs.io/en/stable/) as helper frameworks.

The code is released under MIT license, and the copyright holder is StudentiUniMi.
Expand Down

0 comments on commit 02e053c

Please sign in to comment.