Skip to content

Commit

Permalink
🐳 设置时区
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 29, 2019
1 parent d7a500b commit cb78cfa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ LABEL maintainer="Liang Ding<[email protected]>"

WORKDIR /opt/pipe
COPY --from=GO_BUILD /go/src/github.com/b3log/pipe/ /opt/pipe/
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone \
&& apk add --no-cache ca-certificates
RUN apk add --no-cache ca-certificates tzdata

ENV TZ=Asia/Shanghai
EXPOSE 5897

ENTRYPOINT [ "/opt/pipe/pipe" ]

0 comments on commit cb78cfa

Please sign in to comment.