caidao78 commited on
Commit
ecbbdbb
·
verified ·
1 Parent(s): 5131557

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,6 +1,10 @@
1
  FROM alpine:3.21
2
 
3
- RUN apk add --no-cache ca-certificates curl
 
 
 
 
4
 
5
  COPY entrypoint.sh /usr/local/bin/entrypoint.sh
6
  RUN chmod +x /usr/local/bin/entrypoint.sh
 
1
  FROM alpine:3.21
2
 
3
+ ENV TZ=Asia/Shanghai
4
+
5
+ RUN apk add --no-cache ca-certificates curl tzdata \
6
+ && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
7
+ && echo $TZ > /etc/timezone
8
 
9
  COPY entrypoint.sh /usr/local/bin/entrypoint.sh
10
  RUN chmod +x /usr/local/bin/entrypoint.sh