mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-12 00:53:41 +08:00
update Dockerfile
Signed-off-by: wozulong <>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM node:20 as builder
|
FROM node:20 AS builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY web/package.json .
|
COPY web/package.json .
|
||||||
@@ -25,7 +25,7 @@ FROM alpine
|
|||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade \
|
&& apk upgrade \
|
||||||
&& apk add --no-cache ca-certificates tzdata \
|
&& apk add --no-cache ca-certificates tzdata \
|
||||||
&& update-ca-certificates 2>/dev/null || true
|
&& update-ca-certificates
|
||||||
|
|
||||||
COPY --from=builder2 /build/one-api /
|
COPY --from=builder2 /build/one-api /
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user