mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
Add container timezone handling
Allows to change the timezone with the TZ env variable, useful for cron tasks and other things.
This commit is contained in:
parent
c82c41123a
commit
de3859bbf6
|
@ -5,8 +5,9 @@ ARG N8N_VERSION
|
||||||
RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
|
RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
|
||||||
|
|
||||||
# Update everything and install needed dependencies
|
# Update everything and install needed dependencies
|
||||||
RUN apk add --update \
|
RUN apk add --update --no-cache \
|
||||||
graphicsmagick
|
graphicsmagick tzdata
|
||||||
|
ENV TZ Europe/Berlin
|
||||||
|
|
||||||
# # Set a custom user to not have n8n run as root
|
# # Set a custom user to not have n8n run as root
|
||||||
USER root
|
USER root
|
||||||
|
|
Loading…
Reference in a new issue