|
@@ -1,5 +1,8 @@
|
|
|
from python.old as mosquitto.d4
|
|
from python.old as mosquitto.d4
|
|
|
-run . ./home/runtime/bin/activate && pip install django==4.2.8
|
|
|
|
|
|
|
+run apt install build-essential -y
|
|
|
|
|
+run apt install pkg-config -y
|
|
|
|
|
+run apt install python3-dev libmariadb-dev -y
|
|
|
|
|
+run . ./home/runtime/bin/activate && pip install django==4.2.8 && pip install paho-mqtt && pip install mysqlclient
|
|
|
run ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime
|
|
run ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime
|
|
|
copy run.sh /root/run.sh
|
|
copy run.sh /root/run.sh
|
|
|
copy loop.sh /root/loop.sh
|
|
copy loop.sh /root/loop.sh
|