Update Dockerfile

add timezone for php-worker
This commit is contained in:
AliEbrahimpour
2024-07-28 12:40:39 +03:30
committed by GitHub
parent 55cbf29aa3
commit 5aed205358

View File

@@ -650,6 +650,17 @@ ENTRYPOINT ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
#--------------------------------------------------------------------------
#
###########################################################################
# Set Timezone
###########################################################################
ARG TZ=UTC
ENV TZ ${TZ}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
###########################################################################
RUN php -v | head -n 1 | grep -q "PHP ${PHP_VERSION}."
#