First commit

This commit is contained in:
gbucchino
2025-06-05 15:09:30 +02:00
commit 86ef235216
3134 changed files with 894514 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM httpd:2.4.59
COPY httpd.conf /usr/local/apache2/conf/
RUN mkdir /usr/local/apache2/python/
COPY app.py /usr/local/apache2/python/
RUN chmod 0655 /usr/local/apache2/python/app.py
RUN apt-get update -y && apt install -y apache2-dev libapache2-mod-wsgi-py3 vim
RUN apt install -y python3 python3-pip
RUN cp /usr/lib/apache2/modules/mod_wsgi.so /usr/local/apache2/modules/
RUN pip3 install --break-system-packages flask requests mod_wsgi
#RUN apt-get clean && rm -rf /var/cache/apt