Remove WEB_ROOT env variable (legacy)

This commit is contained in:
2023-01-23 19:50:30 +01:00
parent e5ad0997f6
commit dd43a2e929
4 changed files with 6 additions and 7 deletions

View File

@@ -36,10 +36,9 @@ ENV WP_LOCALE=${WP_LOCALE}
ENV ENFORCE_DISABLE_WP_UPDATES=true
ENV WP_CLI_DISABLE_AUTO_CHECK_UPDATE=true
ENV CRON_ENABLED=true
ENV WEB_ROOT=html
WORKDIR "/var/www/${WEB_ROOT}/"
VOLUME ["/root/.wp-cli", "/var/www/${WEB_ROOT}", "/var/www/${WEB_ROOT}/wp-content"]
WORKDIR "/var/www/html/"
VOLUME ["/root/.wp-cli", "/var/www/html", "/var/www/html/wp-content"]
LABEL maintainer="Aleksandar Puharic <aleksandar@puharic.com>"
ENTRYPOINT ["/init"]