mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: add env TZ in dockerfile
This commit is contained in:
@@ -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! ✅
|
||||
|
||||
Reference in New Issue
Block a user