update Dockerfile

Signed-off-by: wozulong <>
This commit is contained in:
wozulong 2025-02-01 23:25:48 +08:00
parent 0fd3e407dc
commit 1f694315ce

View File

@ -1,13 +1,13 @@
FROM node:20 AS builder FROM oven/bun:latest AS builder
WORKDIR /build WORKDIR /build
COPY web/package.json . COPY web/package.json .
RUN yarn install RUN bun install
COPY ./web . COPY ./web .
COPY ./VERSION . COPY ./VERSION .
RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) yarn build RUN DISABLE_ESLINT_PLUGIN='true' VITE_REACT_APP_VERSION=$(cat VERSION) bun run build
FROM golang AS builder2 FROM golang:1.23.5 AS builder2
ENV GO111MODULE=on \ ENV GO111MODULE=on \
CGO_ENABLED=1 \ CGO_ENABLED=1 \