Browse Source

Adds dockerfile

zachary 10 năm trước cách đây
mục cha
commit
f8cf0fa679
2 tập tin đã thay đổi với 25 bổ sung0 xóa
  1. 16 0
      .dockerignore
  2. 9 0
      Dockerfile

+ 16 - 0
.dockerignore

@@ -0,0 +1,16 @@
+build
+build.xml
+ChangeLog
+composer.json
+CONTRIBUTING.md
+COPYING
+COPYRIGHT
+dev
+doc
+Dockerfile
+INSTALL
+README-FR.md
+README.md
+robots.txt
+scripts
+test

+ 9 - 0
Dockerfile

@@ -0,0 +1,9 @@
+FROM php:5.6-apache
+
+RUN apt-get update && apt-get install -y php5-gd php5-mysql
+
+COPY htdocs/ /var/www/html/
+
+RUN chown -hR www-data:www-data /var/www/html
+
+EXPOSE 80