chore: add env TZ in dockerfile

This commit is contained in:
DIYgod 2019-06-18 16:07:58 +08:00
parent 9b16216e7e
commit 42c9ab40f0
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ LABEL MAINTAINER https://github.com/DIYgod/RSSHub/
RUN apt-get update && apt-get install -yq libgconf-2-4 apt-transport-https
ENV NODE_ENV production
ENV TZ Asia/Shanghai
WORKDIR /app

View File

@ -70,7 +70,7 @@ $ docker pull diygod/rsshub
然后运行 RSSHub 即可
```bash
$ docker run -d -e "TZ=Asia/Shanghai" --name rsshub -p 1200:1200 diygod/rsshub
$ docker run -d --name rsshub -p 1200:1200 diygod/rsshub
```
在浏览器中打开 [http://127.0.0.1:1200/](http://127.0.0.1:1200/), enjoy it! ✅