First commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user