From 1f694315ce8fee332b4f60a0da883e428abaca3f Mon Sep 17 00:00:00 2001 From: wozulong <> Date: Sat, 1 Feb 2025 23:25:48 +0800 Subject: [PATCH] update Dockerfile Signed-off-by: wozulong <> --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5183d21..dccf04a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM node:20 AS builder +FROM oven/bun:latest AS builder WORKDIR /build COPY web/package.json . -RUN yarn install +RUN bun install COPY ./web . 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 \ CGO_ENABLED=1 \