| 1 | # Same base image as the Alchemy "bun-baseline" benchmark variant |
| 2 | # (`oven/bun:latest`) running a one-line Bun HTTP server on port 8080. Keeping |
| 3 | # the image identical makes the wrangler numbers directly comparable to the |
| 4 | # Alchemy ones — any difference is attributable to the framework, not the |
| 5 | # image. |
| 6 | FROM oven/bun:latest |
| 7 | |
| 8 | RUN printf 'Bun.serve({ port: 8080, hostname: "0.0.0.0", fetch: () => new Response("ok") });\n' > /server.ts |
| 9 | |
| 10 | EXPOSE 8080 |
| 11 | CMD ["bun", "/server.ts"] |