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