Skip to content
Snippets Groups Projects

Fix timezone imagen

Merged Fernando Alvez requested to merge feature/fix-timezone-img into develop
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -141,6 +141,7 @@ ENV PHP_MAX_FILE_UPLOAD 200
ENV PHP_MAX_POST 100M
ENV PHP_MAX_INPUT_VARS 15000
ENV PHP_LOGS_ERRORS On
ENV TZ=America/Argentina/Buenos_Aires
# Set environments
RUN sed -i "s|;*memory_limit =.*|memory_limit = ${PHP_MEMORY_LIMIT}|i" /etc/php7/php.ini
@@ -151,6 +152,8 @@ RUN sed -i "s|;*post_max_size =.*|post_max_size = ${PHP_MAX_POST}|i" /etc/php7/p
RUN sed -i "s|;*display_errors =.*|display_errors = ${PHP_DISPLAY_ERRORS}|i" /etc/php7/php.ini
RUN sed -i "s|;*log_errors =.*|log_errors = ${PHP_LOGS_ERRORS}|i" /etc/php7/php.ini
RUN echo "date.timezone = $TZ" > /etc/php7/conf.d/80-unam-timezone.ini
EXPOSE 80
CMD [ "--serve" ]
Loading