Update Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
FROM alpine:3.21
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|