瀏覽代碼

fix: skip linking /etc/localtime file first in api docker image (#2099)

Bowen Liang 1 年之前
父節點
當前提交
483dcb6340
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      api/Dockerfile

+ 0 - 2
api/Dockerfile

@@ -26,8 +26,6 @@ EXPOSE 5001
 
 # set timezone
 ENV TZ UTC
-RUN ln -s /usr/share/zoneinfo/${TZ} /etc/localtime \
-    && echo ${TZ} > /etc/timezone
 
 WORKDIR /app/api