chore: align frontend tooling with bun

This commit is contained in:
linkong
2026-04-02 16:48:32 +08:00
parent f01d24240f
commit 8bd8e3966a
6 changed files with 38 additions and 3282 deletions

View File

@@ -1,12 +1,12 @@
FROM node:20-alpine
FROM oven/bun:1-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
COPY . .
EXPOSE 3000
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
CMD ["bun", "run", "dev", "--", "--host", "0.0.0.0"]