summaryrefslogtreecommitdiffstats
path: root/Services/apache/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
commita699d0d06feeb1859efea16dd6b3df17901a1bc5 (patch)
tree3a2646acb64a4a9d2440549b2a895648b9289466 /Services/apache/Dockerfile
parent8829f895c890685cc25fe3022299b4275808dc06 (diff)
downloadphpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.gz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.bz2
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.xz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.zip
modif des services et ajout de memcache, apache et nodejs
Diffstat (limited to 'Services/apache/Dockerfile')
-rw-r--r--Services/apache/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile
new file mode 100644
index 0000000..c3385d4
--- /dev/null
+++ b/Services/apache/Dockerfile
@@ -0,0 +1,16 @@
+FROM startx/fedora
+MAINTAINER Chistophe LARUE <dev@startx.fr>
+
+COPY apache_run.sh /bin/
+RUN yum -y install httpd \
+ && yum clean all \
+ && mkdir -p /var/www/html \
+ && mkdir -p /var/log/httpd \
+ && chmod ug+rx /bin/apache_*
+COPY welcome.html /var/www/html/index.html
+
+EXPOSE 80
+EXPOSE 443
+
+CMD ["/bin/apache_run.sh"]
+ONBUILD CMD ["/bin/apache_run.sh"] \ No newline at end of file