mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:48 +02:00
fix nginad
This commit is contained in:
parent
d226a31e41
commit
d0dfd4f0e4
@ -7,7 +7,8 @@ MAINTAINER kev <noreply@datageek.info>
|
|||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
RUN apk add -U gzip \
|
RUN apk add -U git \
|
||||||
|
gzip \
|
||||||
nginx \
|
nginx \
|
||||||
php-apcu \
|
php-apcu \
|
||||||
php-curl \
|
php-curl \
|
||||||
@ -33,6 +34,7 @@ RUN apk add -U gzip \
|
|||||||
&& 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
|
||||||
|
Loading…
Reference in New Issue
Block a user