Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
FROM ubuntu:20.04
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
# 更新并安装基础依赖
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
tzdata \
|
|
|
|
| 1 |
FROM ubuntu:20.04
|
| 2 |
|
| 3 |
+
|
| 4 |
+
# 设置时区
|
| 5 |
+
RUN apt-get update && apt-get install -y tzdata
|
| 6 |
+
ENV TZ=Asia/Shanghai
|
| 7 |
+
RUN dpkg-reconfigure -f noninteractive tzdata
|
| 8 |
+
|
| 9 |
# 更新并安装基础依赖
|
| 10 |
RUN apt-get update && apt-get install -y \
|
| 11 |
tzdata \
|