Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
luzov authored Oct 15, 2024
1 parent 995e030 commit 9e5f136
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# 使用最新的 Ubuntu 基础镜像
FROM ubuntu:latest

# 安装 tzdata 包
RUN apt-get update && \
apt-get install -y tzdata && \
ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
echo 'Asia/Shanghai' > /etc/timezone
# 设置环境变量
ENV TZ=Asia/Shanghai

FROM golang:1.23.2 AS builder
WORKDIR /go/src/github.com/YuCN0010/DeepLX
Expand Down

0 comments on commit 9e5f136

Please sign in to comment.