email/rainloop/Dockerfile

14 lines
323 B
Docker

FROM php:5-apache
WORKDIR /var/www/rainloop/
RUN apt-get update && apt-get install -y \
unzip wget
RUN wget -qO- https://repository.rainloop.net/installer.php | php \
&& find . -type d -exec chmod 755 {} \; \
&& find . -type f -exec chmod 644 {} \; \
&& chown -R www-data: *
CMD ["php", "-S", "0.0.0.0:33144"]