Commit 3170f26a by Calcium-Ion Committed by GitHub

Merge pull request #1135 from PeterDaveHelloKitchen/Dockerfile

refactor: optimize Dockerfile apk usage
parents 726c8a71 36541699
......@@ -24,8 +24,7 @@ RUN go build -ldflags "-s -w -X 'one-api/common.Version=$(cat VERSION)'" -o one-
FROM alpine
RUN apk update \
&& apk upgrade \
RUN apk upgrade --no-cache \
&& apk add --no-cache ca-certificates tzdata ffmpeg \
&& update-ca-certificates
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment