mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 20:31:16 +02:00
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
17 lines
815 B
Docker
17 lines
815 B
Docker
# Bun baseline MicroVM — the dumbest possible Bun HTTP server, built the EXACT
|
|
# same way alchemy's effectful image is built (same MicroVM base, same bun
|
|
# install via the official installer). The ONLY difference from the effectful
|
|
# `EffectfulBun` image is the server code: a raw `Bun.serve({ fetch })` with no
|
|
# Effect runtime, no alchemy bootstrap, no RPC protocol. Any time-to-usable
|
|
# gap between this and the effectful variant is the alchemy/Effect cold-start
|
|
# tax, with runtime (bun) and CPU arch (ARM_64) held constant.
|
|
FROM public.ecr.aws/lambda/microvms:al2023-minimal
|
|
|
|
RUN dnf install -y unzip tar && curl -fsSL https://bun.sh/install | bash && ln -s /root/.bun/bin/bun /usr/local/bin/bun && dnf clean all
|
|
|
|
WORKDIR /app
|
|
COPY server.js .
|
|
|
|
EXPOSE 8080
|
|
ENV PORT=8080
|
|
ENTRYPOINT ["bun", "/app/server.js"]
|