mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 13:30:13 +09:00
Simplify apk upgrade process in the Dockerfile
This commit is contained in:
parent
a95a4cb35c
commit
b05f60d29d
@ -32,11 +32,9 @@ RUN npm install -g pnpm && \
|
||||
FROM alpine
|
||||
|
||||
# Install dependencies
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
RUN apk upgrade --no-cache && \
|
||||
apk add --no-cache wget ca-certificates tzdata && \
|
||||
update-ca-certificates 2>/dev/null || true && \
|
||||
rm -rf /var/cache/apk/*
|
||||
update-ca-certificates 2>/dev/null || true
|
||||
|
||||
# Set timezone
|
||||
RUN echo "Asia/Shanghai" > /etc/timezone && \
|
||||
|
Loading…
Reference in New Issue
Block a user