update Dockerfile

Signed-off-by: wozulong <>
This commit is contained in:
wozulong
2025-02-01 22:51:23 +08:00
parent c0ab39e446
commit 0fd3e407dc

View File

@@ -1,4 +1,4 @@
FROM node:20 as builder
FROM node:20 AS builder
WORKDIR /build
COPY web/package.json .
@@ -25,7 +25,7 @@ FROM alpine
RUN apk update \
&& apk upgrade \
&& apk add --no-cache ca-certificates tzdata \
&& update-ca-certificates 2>/dev/null || true
&& update-ca-certificates
COPY --from=builder2 /build/one-api /
EXPOSE 3000