Add WP_LOCALE as build arg

This commit is contained in:
Aleksandar Puharic 2022-05-25 19:29:18 +02:00
parent ea0f123c1f
commit b92fdad85b
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -61,7 +61,8 @@ RUN mv /etc/nginx/conf.d /etc/nginx/http.d \
ARG WP_VERSION
ENV WP_VERSION ${WP_VERSION}
ENV WP_LOCALE en_US
ARG WP_LOCALE en_US
ENV WP_LOCALE ${WP_LOCALE}
ENV VIRTUAL_HOST your-domain.com
ENV S6_KEEP_ENV 1
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS 2