1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/revive/Dockerfile
2016-05-01 09:06:20 +08:00

33 lines
714 B
Docker

#
# Dockerfile for revive
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
WORKDIR /var/www/html
RUN apk add -U gzip \
nginx \
php-curl \
php-fpm \
php-gd \
php-json \
php-mysql \
php-opcache \
php-openssl \
php-pgsql \
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;'