1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/revive/Dockerfile

33 lines
713 B
Docker
Raw Normal View History

2015-09-21 12:24:21 +02:00
#
# Dockerfile for revive
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2015-09-21 12:24:21 +02:00
WORKDIR /var/www/html
2015-09-21 12:46:41 +02:00
RUN apk add -U gzip \
2015-09-21 12:24:21 +02:00
nginx \
php-curl \
php-fpm \
php-gd \
2015-09-24 03:39:38 +02:00
php-json \
2015-09-21 12:24:21 +02:00
php-mysql \
2015-09-21 12:46:41 +02:00
php-opcache \
2015-09-21 12:24:21 +02:00
php-openssl \
2015-09-21 12:46:41 +02:00
php-pgsql \
2015-09-21 12:24:21 +02:00
php-phar \
php-xml \
php-zlib \
tar \
&& wget -O- http://download.revive-adserver.com/revive-adserver-3.2.1.tar.gz | tar xz --strip 1 \
&& chown -R nobody:nobody . \
&& rm -rf /var/cache/apk/*
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD php-fpm && nginx -g 'daemon off;'