1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

fix nginad

This commit is contained in:
kev 2015-09-21 18:54:32 +08:00
parent d226a31e41
commit d0dfd4f0e4

@ -7,7 +7,8 @@ MAINTAINER kev <noreply@datageek.info>
WORKDIR /var/www/html
RUN apk add -U gzip \
RUN apk add -U git \
gzip \
nginx \
php-apcu \
php-curl \
@ -33,6 +34,7 @@ RUN apk add -U gzip \
&& cp rtb.config.local.php.dist rtb.config.local.php \
&& sed -i -e "s/'pass' => ''/'pass' => 'root'/" \
-e "s/'host' => 'localhost'/'host' => 'mysql'/" database.local.php \
&& apk del git \
&& rm -rf /var/cache/apk/*
COPY nginx.conf /etc/nginx/nginx.conf