start.ori 642 B

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