Merge 7bda9b82b4
into 18f59bdb09
This commit is contained in:
commit
fb825e20d7
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue