mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 17:46:37 +08:00
build: Update Golang in Docker image to 1.22.0
- Update Golang container image
This commit is contained in:
parent
29eab22762
commit
281df64214
@ -12,7 +12,7 @@ WORKDIR /web/berry
|
||||
RUN npm install
|
||||
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
|
||||
|
||||
FROM golang:1.21.5-bullseye AS builder2
|
||||
FROM golang:1.22.0-bullseye AS builder2
|
||||
|
||||
ENV GO111MODULE=on \
|
||||
CGO_ENABLED=1 \
|
||||
@ -40,4 +40,4 @@ RUN apt-get install -y --no-install-recommends ca-certificates haveged tzdata \
|
||||
COPY --from=builder2 /build/one-api /
|
||||
EXPOSE 3000
|
||||
WORKDIR /data
|
||||
ENTRYPOINT ["/one-api"]
|
||||
ENTRYPOINT ["/one-api"]
|
||||
|
Loading…
Reference in New Issue
Block a user