mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 23:31:35 +09:00
set env/doc root
This commit is contained in:
@@ -9,9 +9,11 @@ RUN apt-get update && apt-get install -y wget && \
|
||||
apt-get install -y curl mysql-client \
|
||||
lsphp73 lsphp73-mysql lsphp73-opcache lsphp73-curl
|
||||
|
||||
RUN echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q /usr/local/lsws/admin/misc/htpasswd.php ${WEB_ADMIN})" \
|
||||
> /usr/local/lsws/admin/conf/htpasswd
|
||||
|
||||
EXPOSE 7080
|
||||
|
||||
# get wp-cli
|
||||
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
|
||||
chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp && \
|
||||
ln -s /usr/local/lsws/lsphp73/bin/php7.3 /usr/bin/php
|
||||
|
||||
Reference in New Issue
Block a user