diff options
author | Roelof Rietbroek (@grace) <roelof@geod.uni-bonn.de> | 2018-04-23 15:54:17 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-30 11:33:14 -0700 |
commit | 93846ee99033084290e885b59b048635916955e5 (patch) | |
tree | 24657349d4b9475abbd5cc6ed3bc75f7d6ff4e0c /Dockerfile | |
parent | 0b475c18509c335087cc3158b5a7e616c1928286 (diff) |
add SSL functionality to docker
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,13 +2,14 @@ FROM alpine:3.7 VOLUME /var/www/app/data VOLUME /var/www/app/plugins +VOLUME /etc/nginx/ssl +EXPOSE 80 443 -EXPOSE 80 ARG VERSION RUN apk update && \ - apk add unzip nginx bash ca-certificates s6 curl ssmtp mailx php7 php7-phar php7-curl \ + apk add openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php7 php7-phar php7-curl \ php7-fpm php7-json php7-zlib php7-xml php7-dom php7-ctype php7-opcache php7-zip php7-iconv \ php7-pdo php7-pdo_mysql php7-pdo_sqlite php7-pdo_pgsql php7-mbstring php7-session \ php7-gd php7-mcrypt php7-openssl php7-sockets php7-posix php7-ldap php7-simplexml && \ @@ -26,5 +27,8 @@ RUN cd /tmp \ ADD docker/ / + + + ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] CMD [] |