]> Untitled Git - public.git/blobdiff - Dockerfile
Updated local compose variables
[public.git] / Dockerfile
index f67711c75ac6f0b246528ce3f0c478e0e90ce7e6..865963597a3a7d30545f9a5bce953768ef9243f0 100644 (file)
@@ -1,7 +1,7 @@
-FROM httpd:2.4
+FROM httpd:2.4-alpine
 
-RUN apt-get update -y && \
-    apt-get -y install make gcc perl && \
-    cpan -i File::Spec File::Path
+# open htdocs so scripts can write dynamically into there
+RUN  chmod 777 /usr/local/apache2/htdocs
 
-RUN mkdir -p /usr/local/apache2/htdocs/public
+COPY /httpd.conf /usr/local/apache2/conf/httpd.conf
+COPY /lua        /usr/local/apache2/lua