| 1234567891011121314151617 |
- from debian:stable as base_image
- run echo "Creazione immagine di base"
- run apt update && apt dist-upgrade -y
- run apt install nfs-common -y
- run ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime
- from base_image as python_ready
- run apt install python3-pip python3-venv python-is-python3 -y
- run cd /home && python -mvenv runtime
- run ls -al /home
- from python_ready as django_428
- run . ./home/runtime/bin/activate && pip install django==4.2.8 && pip install configparser && pip install pymysqldb
- from python_ready as django_latest
- run . ./home/runtime/bin/activate && pip install django && pip install configparser && pip install pymysqldb
|