docker-rainloop/Dockerfile

39 lines
816 B
Docker
Raw Permalink Normal View History

2022-03-28 12:36:29 +02:00
FROM alpine:latest
LABEL version="1.0.0" \
author="Daniel Sommer <daniel.sommer@velvettear.de" \
license="MIT"
MAINTAINER Daniel Sommer <daniel.sommer@velvettear.de>
ENV LANG=C.UTF-8
RUN apk upgrade --no-cache --progress \
&& apk add --no-cache --progress \
tzdata \
php8 \
php8-fpm \
php8-simplexml \
php8-iconv \
php8-dom \
php8-opcache \
php8-curl \
php8-pdo_sqlite \
php8-common \
php8-openssl \
php8-pdo \
nginx \
rainloop-webmail \
&& ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime \
&& echo "Europe/Berlin" > /etc/timezone \
&& apk del --no-cache tzdata \
&& mkdir /run/php-fpm8
COPY [ "nginx", "/etc/nginx" ]
COPY [ "php8", "/etc/php8" ]
COPY [ "rainloop.sh", "/usr/bin/rainloop.sh" ]
EXPOSE 80
ENTRYPOINT ["rainloop.sh"]