1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00

Update Django and Python versions in documentation samples

Signed-off-by: Wes Lord <weslord@fisgardlabs.com>
This commit is contained in:
Wes Lord 2024-12-21 15:04:41 -08:00
parent 18f59bdb09
commit 7bda9b82b4

View file

@ -23,7 +23,7 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
```dockerfile
# syntax=docker/dockerfile:1
FROM python:3
FROM python:3.12
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /code
@ -45,8 +45,8 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
6. Add the required software in the file.
```python
Django>=3.0,<4.0
psycopg2>=2.8
Django~=4.2.17
psycopg~=3.2
```
7. Save and close the `requirements.txt` file.