1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +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
RUN apk add -U git \
gzip \
RUN apk add -U gzip \
nginx \
php-apcu \
php-curl \
@ -34,7 +33,6 @@ RUN apk add -U git \
&& 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