1# Node baseline MicroVM — the dumbest possible node HTTP server, built the EXACT
2# same way alchemy's effectful node image is built (`dnf install -y nodejs` on
3# the MicroVM base — the runtime the Lambda VMs already ship). The only
4# difference from the effectful node `EffectfulNode` image is the server code: a
5# raw `http.createServer` with no Effect runtime, no alchemy bootstrap, no RPC.
6FROM public.ecr.aws/lambda/microvms:al2023-minimal
7
8RUN dnf install -y nodejs && dnf clean all
9
10WORKDIR /app
11COPY server.js .
12
13EXPOSE 8080
14ENV PORT=8080
15ENTRYPOINT ["node", "/app/server.js"]