更新 docker/Dockerfile
Some checks failed
Cache Npx / task (push) Successful in 34s
Gitea Actions Demo / setup (push) Failing after 53s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / build (push) Has been skipped
Gitea Actions Demo / build-docker (push) Successful in 35s

This commit is contained in:
huanghs 2024-10-21 19:11:09 +08:00
parent 3fab4ef78e
commit b29c9d5a7d

View File

@ -1,4 +1,5 @@
FROM git.zgfxrc.cn/registry/nginx:1.25-alpine-slim #FROM git.zgfxrc.cn/registry/nginx:1.25-alpine-slim
FROM nginx:1.25-alpine-slim
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
&& apk add --no-cache tzdata \ && apk add --no-cache tzdata \