mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 21:40:15 +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
|
FROM alpine
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk update && \
|
RUN apk upgrade --no-cache && \
|
||||||
apk upgrade && \
|
|
||||||
apk add --no-cache wget ca-certificates tzdata && \
|
apk add --no-cache wget ca-certificates tzdata && \
|
||||||
update-ca-certificates 2>/dev/null || true && \
|
update-ca-certificates 2>/dev/null || true
|
||||||
rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
# Set timezone
|
# Set timezone
|
||||||
RUN echo "Asia/Shanghai" > /etc/timezone && \
|
RUN echo "Asia/Shanghai" > /etc/timezone && \
|
||||||
|
Loading…
Reference in New Issue
Block a user