1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +00:00
This commit is contained in:
kev 2015-09-21 18:16:39 +08:00
parent 24e34d944d
commit 64b1e6086b

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