Skip to content

Commit

Permalink
chore: add env TZ in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jun 18, 2019
1 parent 9b16216 commit 42c9ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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! ✅
Expand Down

0 comments on commit 42c9ab4

Please sign in to comment.