chore: add env TZ in dockerfile
This commit is contained in:
parent
9b16216e7e
commit
42c9ab40f0
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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! ✅
|
||||
|
|
|
|||
Loading…
Reference in New Issue