mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user