Update Dockerfile

This commit is contained in:
Brett 2021-05-11 13:57:34 +02:00
parent cf4272bde2
commit e1177eda25
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ LABEL maintainer="brett@kowh.ai"
# Set timezone
ARG TZ
RUN echo $TZ > /etc/timezone
RUN cmp /usr/share/zoneinfo/${TZ} /etc/localtime || cp /usr/share/zoneinfo/${TZ} /etc/localtime
RUN if ! [ /usr/share/zoneinfo/${TZ} -ef /etc/localtime ]; then \
cp /usr/share/zoneinfo/${TZ} /etc/localtime \
fi
# Install any extensions needed by your CKAN instance
# (Make sure to add the plugins to CKAN__PLUGINS in the .env file)