Prepare the webmail to be accessed at / directly

This commit is contained in:
kaiyou
2017-09-17 19:19:28 +02:00
parent 6cd8e0e336
commit 8fc080898b
2 changed files with 7 additions and 8 deletions

View File

@@ -12,17 +12,16 @@ ENV ROUNDCUBE_URL https://github.com/roundcube/roundcubemail/releases/download/1
RUN echo date.timezone=UTC > /usr/local/etc/php/conf.d/timezone.ini
RUN rm -rf /var/www/html/ \
&& mkdir /var/www/html \
&& cd /var/www/html \
&& cd /var/www \
&& curl -L -O ${ROUNDCUBE_URL} \
&& tar -xf *.tar.gz \
&& rm -f *.tar.gz \
&& mv roundcubemail-* webmail \
&& cd webmail \
&& mv roundcubemail-* html \
&& cd html \
&& rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \
&& chown -R www-data: logs
COPY config.inc.php /var/www/html/webmail/config/
COPY config.inc.php /var/www/html/config/
COPY start.sh /start.sh