Browse Source

Add dockerfile to create an official docker image (#720)

Nemo 5 years ago
parent
commit
f4a60c1777
2 changed files with 13 additions and 0 deletions
  1. 8 0
      .dockerignore
  2. 5 0
      Dockerfile

+ 8 - 0
.dockerignore

@@ -0,0 +1,8 @@
+.git
+cache/*
+DEBUG
+Dockerfile
+whitelist.txt
+phpcs.xml
+CHANGELOG.md
+CONTRIBUTING.md

+ 5 - 0
Dockerfile

@@ -0,0 +1,5 @@
+FROM ulsmith/alpine-apache-php7
+
+COPY ./ /app/public/
+
+RUN chown -R apache:root /app/public