trying to understand why ports dont work
This commit is contained in:
@@ -31,10 +31,6 @@ ARG WP_VOLUME_PLUGINS
|
||||
ARG MAX_UPLOAD_SIZE
|
||||
ARG EXECUTION_TIME
|
||||
|
||||
# create and empty volumes dir
|
||||
RUN mkdir -p ${WP_VOLUME_DIR} ${WP_VOLUME_PLUGINS} && \
|
||||
rm -rf ${WP_VOLUME_DIR}/* ${WP_VOLUME_PLUGINS}/*
|
||||
|
||||
# replace max file size upload and execution time
|
||||
RUN sed -i "s/\(upload_max_filesize = \).*\(M\)/\1${MAX_UPLOAD_SIZE}\2/g" /etc/php7/php.ini && \
|
||||
sed -i "s/\(post_max_size = \).*\(M\)/\1${MAX_UPLOAD_SIZE}\2/g" /etc/php7/php.ini && \
|
||||
|
||||
@@ -10,6 +10,8 @@ CYAN="\e[0;36m"
|
||||
WHITE="\e[0;37m"
|
||||
RESET="\e[0m"
|
||||
|
||||
# it gets the ENV variables from .env because specified in the docker-compose.yml file
|
||||
|
||||
# install wordpress with cli : https://make.wordpress.org/cli/handbook/how-to-install/
|
||||
# commands : https://developer.wordpress.org/cli/commands/
|
||||
# bug with wp commands : https://github.com/wp-cli/config-command/issues/31
|
||||
|
||||
Reference in New Issue
Block a user