Docker Build Image 時設定時區 Post author:rovingwind Post published:2021 年 7 月 25 日 Post category:ASP.NET Core / Docker Post comments:0 Comments 在 Dockerfile 加入下列設定 ENV TZ=Asia/Taipei RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone TZ 指定成你要的時區 You Might Also Like docker 容器 vim: command not found 2020 年 11 月 27 日 Synology Nas Docker 使用 ASP.Net Core 5 佈署網站 2021 年 7 月 9 日 讓 ASP.NET Core 也能改完 cshtml 立即看結果 2021 年 6 月 2 日 發佈留言 取消回覆CommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) 在瀏覽器中儲存顯示名稱、電子郵件地址及個人網站網址,以供下次發佈留言時使用。