summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/phpmyadmin/Dockerfile')
-rw-r--r--Applications/phpmyadmin/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile
index 852e8b1..8225878 100644
--- a/Applications/phpmyadmin/Dockerfile
+++ b/Applications/phpmyadmin/Dockerfile
@@ -1,10 +1,12 @@
FROM startx/sv-php
MAINTAINER Chistophe LARUE <dev@startx.fr>
-RUN yum -y update && yum clean all
-RUN yum -y install phpMyAdmin && yum clean all
-ADD config.inc.php /etc/phpMyAdmin/config.inc.php
-ADD test.php /var/www/html/test.php
+RUN yum -y install phpMyAdmin \
+ && yum clean all
+COPY config.inc.php /etc/phpMyAdmin/config.inc.php
+COPY test.php /var/www/html/test.php
EXPOSE 80
+EXPOSE 443
+
ENTRYPOINT ["/usr/sbin/apachectl", "-D FOREGROUND"] \ No newline at end of file