]> Untitled Git - public.git/blobdiff - Dockerfile
Updated version to 1.2.1
[public.git] / Dockerfile
index e9fbe232ceb8eb0464f9880cc162c4b67191e9d6..865963597a3a7d30545f9a5bce953768ef9243f0 100644 (file)
@@ -1,8 +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
 
-ADD /httpd.conf /usr/local/apache2/conf/httpd.conf
-ADD /public /root/public
+COPY /httpd.conf /usr/local/apache2/conf/httpd.conf
+COPY /lua        /usr/local/apache2/lua