summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-12 16:23:35 +0200
committermsquare <msquare@notrademark.de>2018-08-19 16:44:33 +0200
commit8ed3ed3a77a46997e5afa8915bb9ee77c8caf249 (patch)
tree3a5ab54b2c0e0b1a3a45ef469604ef86df7f4664 /Dockerfile
parentd7ba51b3ecea3d6be6dc80677aa8d92a301109f1 (diff)
Moved docker files to contrib, added documentation
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile31
1 files changed, 0 insertions, 31 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index a45633f5..00000000
--- a/Dockerfile
+++ /dev/null
@@ -1,31 +0,0 @@
-FROM composer AS composer
-COPY composer.json /app/
-RUN composer install
-
-
-FROM node:8-alpine as themes
-WORKDIR /app
-RUN npm install -g less
-COPY --from=composer /app/vendor /app/vendor
-COPY public/ /app/public
-COPY themes/ /app/themes
-RUN sh /app/themes/build-themes.sh
-
-FROM php:7-fpm-alpine
-RUN apk add --no-cache icu-dev
-RUN docker-php-ext-install intl
-RUN apk add --no-cache gettext-dev
-RUN docker-php-ext-install gettext
-RUN docker-php-ext-install pdo_mysql
-
-COPY --from=composer /app/vendor /var/www/vendor
-COPY --from=themes /app/public/ /var/www/html
-COPY src/ /var/www/src/
-COPY includes/ /var/www/includes/
-COPY config/ /var/www/config/
-COPY locale/ /var/www/locale
-COPY templates/ /var/www/templates
-
-# Symlink gets copied so we delete the symlink.
-RUN rm /var/www/html/vendor/bootstrap
-COPY vendor/twbs/bootstrap/dist/ /var/www/html/vendor/bootstrap/