Move the webmail to /webmail, fixes #82

This commit is contained in:
Pierre Jaury
2016-10-30 11:33:29 +01:00
parent 013286b8e1
commit 6c800e8b63
3 changed files with 20 additions and 8 deletions

View File

@@ -7,8 +7,9 @@ ENV RAINLOOP_URL https://github.com/RainLoop/rainloop-webmail/releases/download/
RUN echo date.timezone=UTC > /usr/local/etc/php/conf.d/timezone.ini
RUN cd /var/www/html \
&& rm -rf ./* \
RUN rm -rf /var/www/html/ \
&& mkdir -p /var/www/html/webmail \
&& cd /var/www/html/webmail \
&& curl -L -O ${RAINLOOP_URL} \
&& unzip *.zip \
&& rm -f *.zip \
@@ -17,7 +18,7 @@ RUN cd /var/www/html \
&& find . -type f -exec chmod 644 {} \; \
&& chown -R www-data: *
COPY include.php /var/www/html/include.php
COPY include.php /var/www/html/webmail/include.php
COPY config.ini /config.ini
COPY default.ini /default.ini