File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,10 @@ RUN apt-get update && apt-get install -y \
1919 libgmp-dev \
2020 libzip-dev \
2121 redis-server \
22- locales \
2322 && docker-php-ext-configure gd --with-jpeg --with-freetype \
2423 && docker-php-ext-install mysqli pdo_mysql sockets gd zip gmp bcmath \
2524 && pecl install redis \
2625 && docker-php-ext-enable redis \
27- && sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen \
28- && locale-gen \
2926 && apt-get clean && rm -rf /var/lib/apt/lists/*
3027
3128FROM base AS builder
@@ -53,10 +50,7 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh
5350RUN chown -R www-data:www-data /app \
5451 && chmod -R 755 /app
5552
56- ENV TZ=America/Sao_Paulo
57- ENV LANG=pt_BR.UTF-8
58- ENV LANGUAGE=pt_BR:pt
59- ENV LC_ALL=pt_BR.UTF-8
53+ ENV TZ=UTC
6054
6155EXPOSE 8077
6256
Original file line number Diff line number Diff line change @@ -117,14 +117,6 @@ else
117117 log_success " Timezone set to UTC for both system and PHP"
118118fi
119119
120- # Configure PHP locale settings for Brazilian Portuguese
121- log_info " Configurando locale do PHP para português do Brasil (pt_BR)..."
122- echo "
123- intl.default_locale = pt_BR
124- date.timezone = $TZ
125- " > /usr/local/etc/php/conf.d/locale.ini
126- log_success " Locale do PHP configurado para pt_BR"
127-
128120# Create or update .env file with environment variables
129121log_info " Setting up environment variables in /app/.env..."
130122cat > /app/.env << EOL
You can’t perform that action at this time.
0 commit comments