mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 07:56:38 +08:00
update Dockerfile
Signed-off-by: wozulong <>
This commit is contained in:
parent
0fd3e407dc
commit
1f694315ce
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user