mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
🔀 Merge branch 'deurk-patch-1'
This commit is contained in:
commit
713535087f
|
@ -5,8 +5,7 @@ ARG N8N_VERSION
|
|||
RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
|
||||
|
||||
# Update everything and install needed dependencies
|
||||
RUN apk add --update \
|
||||
graphicsmagick
|
||||
RUN apk add --update graphicsmagick tzdata
|
||||
|
||||
# # Set a custom user to not have n8n run as root
|
||||
USER root
|
||||
|
@ -19,4 +18,7 @@ RUN apk --update add --virtual build-dependencies python build-base && \
|
|||
|
||||
WORKDIR /data
|
||||
|
||||
CMD "n8n"
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
CMD ["n8n"]
|
||||
|
|
5
docker/images/n8n/docker-entrypoint.sh
Executable file
5
docker/images/n8n/docker-entrypoint.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
ln -s "/usr/share/zoneinfo/${GENERIC_TIMEZONE:-America/New_York}" /etc/localtime
|
||||
|
||||
exec "$@"
|
Loading…
Reference in a new issue