1
0
mirror of https://github.com/docker/awesome-compose.git synced 2025-07-02 02:22:55 +00: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 ```dockerfile
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM python:3 FROM python:3.12
ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
WORKDIR /code 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. 6. Add the required software in the file.
```python ```python
Django>=3.0,<4.0 Django~=4.2.17
psycopg2>=2.8 psycopg~=3.2
``` ```
7. Save and close the `requirements.txt` file. 7. Save and close the `requirements.txt` file.