mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Add BABEL_DEFAULT_TIMEZONE to docker entryfile.sh (#714)
* Set a default timezone to UTC for docker
This commit is contained in:
parent
cb0b9d58bc
commit
99cdfa5a80
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,8 @@ ENV NIGHTLY="" \
|
||||||
ACTIVATE_DEMO_PROJECT="True" \
|
ACTIVATE_DEMO_PROJECT="True" \
|
||||||
ADMIN_PASSWORD="" \
|
ADMIN_PASSWORD="" \
|
||||||
ALLOW_PUBLIC_PROJECT_CREATION="True" \
|
ALLOW_PUBLIC_PROJECT_CREATION="True" \
|
||||||
ACTIVATE_ADMIN_DASHBOARD="False"
|
ACTIVATE_ADMIN_DASHBOARD="False" \
|
||||||
|
BABEL_DEFAULT_TIMEZONE="UTC"
|
||||||
|
|
||||||
RUN apk update && apk add git gcc libc-dev libffi-dev openssl-dev wget &&\
|
RUN apk update && apk add git gcc libc-dev libffi-dev openssl-dev wget &&\
|
||||||
mkdir -p /etc/ihatemoney &&\
|
mkdir -p /etc/ihatemoney &&\
|
||||||
|
|
|
@ -20,6 +20,7 @@ ACTIVATE_DEMO_PROJECT = $ACTIVATE_DEMO_PROJECT
|
||||||
ADMIN_PASSWORD = '$ADMIN_PASSWORD'
|
ADMIN_PASSWORD = '$ADMIN_PASSWORD'
|
||||||
ALLOW_PUBLIC_PROJECT_CREATION = $ALLOW_PUBLIC_PROJECT_CREATION
|
ALLOW_PUBLIC_PROJECT_CREATION = $ALLOW_PUBLIC_PROJECT_CREATION
|
||||||
ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD
|
ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD
|
||||||
|
BABEL_DEFAULT_TIMEZONE = "$BABEL_DEFAULT_TIMEZONE"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "$NIGHTLY" == "True" -o "$NIGHTLY" == "true" ]; then
|
if [ "$NIGHTLY" == "True" -o "$NIGHTLY" == "true" ]; then
|
||||||
|
|
Loading…
Reference in a new issue