summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bdb70e1
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM php:apache
+
+COPY --from=composer /usr/bin/composer /usr/bin/composer
+
+WORKDIR /var/www/html
+
+RUN apt-get update && apt-get -y install git
+
+COPY composer* .
+RUN composer install
+
+RUN a2enmod rewrite
+
+COPY index.php .
+COPY .htaccess .