File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- FROM node:22.21-alpine as builder
1+ FROM node:22.21-alpine AS base
2+
3+ # Install Bun
4+ RUN apk --no-cache add curl bash
5+ RUN curl -fsSL https://bun.com/install | bash
6+ ENV PATH="/root/.bun/bin:${PATH}"
7+
8+ FROM base AS builder
29
310WORKDIR /app
411
@@ -15,7 +22,7 @@ RUN bun run build
1522
1623
1724
18- FROM node:22.21-alpine
25+ FROM base
1926
2027WORKDIR /app
2128
Original file line number Diff line number Diff line change 3535 },
3636 "devDependencies" : {
3737 "@tanstack/router-plugin" : " ^1.133.32" ,
38- "@types/bun" : " ^1.3.1" ,
3938 "@types/node" : " ^24.9.1" ,
4039 "@types/react" : " ^19.2.2" ,
4140 "@types/react-dom" : " ^19.2.2" ,
Original file line number Diff line number Diff line change 2727 // Some stricter flags (disabled by default)
2828 "noUnusedLocals" : false ,
2929 "noUnusedParameters" : false ,
30- "noPropertyAccessFromIndexSignature" : false ,
31- "types" : [" @types/bun" ]
30+ "noPropertyAccessFromIndexSignature" : false
3231 },
3332 "include" : [" ./src/**/*.ts" ]
3433}
You can’t perform that action at this time.
0 commit comments