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

This commit is contained in:
Bowen Liang 2024-01-19 21:06:26 +08:00 committed by GitHub
parent 9ad7b65996
commit 483dcb6340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

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