summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-20 17:37:41 +0200
committermsquare <msquare@notrademark.de>2018-09-23 11:42:41 +0200
commitad75488464df642b93dcf617a3ba7848b0be4c48 (patch)
treebe447cdc26912e06afb0be901b1ce835ea0777eb /contrib
parent8eee97f3ad676ad8570ccd31251239ea016a25c7 (diff)
Docker: more improvements :tada:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Dockerfile3
-rw-r--r--contrib/nginx/Dockerfile1
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/Dockerfile b/contrib/Dockerfile
index 520e1216..5d40bafb 100644
--- a/contrib/Dockerfile
+++ b/contrib/Dockerfile
@@ -26,7 +26,8 @@ FROM php:7-fpm-alpine
WORKDIR /var/www
COPY --from=data /app/ /var/www
RUN apk add --no-cache icu-dev gettext-dev && \
- docker-php-ext-install intl gettext pdo_mysql
+ docker-php-ext-install intl gettext pdo_mysql && \
+ rm -r /var/www/html
ENV TRUSTED_PROXIES 10.0.0.0/8,::ffff:10.0.0.0/8,\
127.0.0.0/8,::ffff:127.0.0.0/8,\
diff --git a/contrib/nginx/Dockerfile b/contrib/nginx/Dockerfile
index f58dd3c2..e838d368 100644
--- a/contrib/nginx/Dockerfile
+++ b/contrib/nginx/Dockerfile
@@ -9,5 +9,4 @@ RUN yarn build
FROM nginx:alpine
COPY contrib/nginx/nginx.conf /etc/nginx/nginx.conf
COPY --from=themes /app/public/assets /var/www/public/assets/
-COPY public/.htaccess /var/www/public/
RUN touch /var/www/public/index.php