From ef2ef8016471214c57e4d6eb68e3f5ea631510a8 Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Tue, 31 Jan 2017 19:55:09 -0500 Subject: [PATCH] fixes issue with timezones --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b91768..064e346 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ WORKDIR /app RUN npm install -# Grab the current local timezone from an external api and save it into /etc/timezone +# Grab the current local timezone from an external api and save it into /etc/timezone, otherwise Tor will complain and won't start RUN curl -sL http://ip-api.com/json | node -e "process.stdin.resume(); process.stdin.on('data', (data) => { process.stdout.write(JSON.parse(data.toString('utf8')).timezone); process.exit(0); });" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata CMD npm start \ No newline at end of file