We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d6810 commit 07a9777Copy full SHA for 07a9777
docker/Dockerfile_wp
@@ -40,7 +40,8 @@ COPY docker/wait-for-it.sh /usr/local/bin
40
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
41
&& chmod +x wp-cli.phar \
42
&& mv wp-cli.phar /usr/local/bin/wp
43
-RUN sed -i 's|#ServerName www.example.com|ServerName ${WP_DOMAIN}|' /etc/apache2/sites-available/*.conf
+RUN sed -i "s|#ServerName www.example.com|ServerName ${WP_DOMAIN}|" /etc/apache2/sites-available/*.conf
44
+RUN sed -i "s|#ServerName www.example.com|ServerName ${WP_DOMAIN}|" /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
45
46
WORKDIR ${DOCROOT_PATH}
47
COPY --from=vendor-dev ${BUILD_ROOT_PATH} ${PROJECT_MOUNT_PATH}
0 commit comments