example-static-c4f2 — Running app on heyo

Status: Done · build 2

ReadPlanPublishBuildVerifyDone
App
https://example-static-c4f2.us5.heyo.work
Deployment
example-static-c4f2
Recipe
fireup/example-static-c4f2-recipe:c4f20684-r1

Dockerfile (heyo-ready)

Rewritten by the agent. Download

FROM alpine:3.19
RUN apk add --no-cache socat darkhttpd \
 && mkdir -p /srv/www
COPY public/ /srv/www/
EXPOSE 8080
Port
8080
Start
cd /srv/www && setsid nohup darkhttpd /srv/www --port 8080 </dev/null &

Agent Notes

Submitted and accepted. The VM runs a minimal Alpine Linux stage that directly serves the repository's `public/` tree with BusyBox `httpd` on `0.0.0.0:8080`, plus `socat` installed for log streaming. The `/init.sh` PID 1 and the deployment's `start_command` will background the server, so the static HTML/CSS app is served behind app-lb's HTTPS proxy. Repaired after build 1.

  • Alpine's busybox lacks the httpd applet, so 'busybox httpd' failed with 'applet not found' and nothing listened on 8080
  • Replaced busybox httpd with darkhttpd (tiny static-file server, apk add darkhttpd) and updated start_command to 'darkhttpd /srv/www --port 8080'

Planned from Your Repository

https://remote.heyo.work/fireup/example-static.git at 1ebbaef7a2ce

Submitted and accepted. The VM runs a minimal Alpine Linux stage that directly serves the repository's `public/` tree with BusyBox `httpd` on `0.0.0.0:8080`, plus `socat` installed for log streaming. The `/init.sh` PID 1 and the deployment's `start_command` will background the server, so the static HTML/CSS app is served behind app-lb's HTTPS proxy.

FROM alpine:3.19
RUN apk add --no-cache socat \
 && mkdir -p /srv/www
COPY public/ /srv/www/
EXPOSE 8080

Log

fireme ▸ new running app on heyo job from https://remote.heyo.work/fireup/example-static.git
git ▸ fetching the tree of https://remote.heyo.work/fireup/example-static.git
git ▸ 3 files at 1ebbaef7a2ce
git ▸ the repository is the build context (0 KB)
agent ▸ mercury-3 on Inception, then z-ai/glm-5.3-flash on OpenRouter reading the repository…
agent ▸ read_repo_file README.md
agent ▸ read_repo_file public/index.html
agent ▸ read_repo_file public/style.css
agent ▸ heyo_rules
agent ▸ submit_build accepted
agent ▸ planned example-static-c4f2
store ▸ fireup/example-static-c4f2-recipe:c4f20684 → 68bbc623ad86
app-lb ▸ deployment example-static-c4f2 registered (build 1 of at most 3)
app-lb ▸ build job-69aa6c4dccc5 started
build ▸ fireup/example-static-c4f2-recipe:c4f20684 resolves to 68bbc623ad86cb12a3b60147e1d26e8df847145baf78d314459f1aba7845503b at https://admin.us5.heyo.work/namespaces/fireup/artifacts (Dockerfile ed48470dfd44, 105 B)
build ▸ fetching 105 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/ed48470dfd4440cca3eaae813c9a236627cff58d913cd030b8e9fc91b8188068
build ▸ fetching 902 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/0b2480b04951363dde7c35b1c1f8a130860fb11d43935a4005dab5c7e5cee9cf
build ▸ unpacked 3 files (995 B) of build context
build ▸ the Dockerfile never mentions /init.sh, so app-lb adds its standard guest init (it starts nothing; the deployment's start_command starts the app)
build ▸ $ heyvm mvm build -f /var/lib/app-lb/builds/example-static-c4f2/.recipe/Dockerfile.app-lb -c /var/lib/app-lb/builds/example-static-c4f2/.recipe/context -n example-static-c4f2-68bbc623ad86 --local-only
build ▸ Checking prerequisites...
build ▸   Docker: OK
build ▸   mke2fs: OK
build ▸   Running as root, fakeroot not needed
build ▸ Building Docker image from /var/lib/app-lb/builds/example-static-c4f2/.recipe/Dockerfile.app-lb...
build ▸   Docker build complete: heyvm-rootfs-example-static-c4f2-68bbc623ad86:latest
build ▸ Exporting container filesystem...
build ▸   Exported 8.6 MB tar archive
build ▸ Creating ext4 rootfs image (128 MB)...
build ▸   Created rootfs.ext4 (128.0 MB)
build ▸ Cleanup: removing Docker container and image...
build ▸ Build complete: /tmp/.tmp8sp7SB/rootfs.ext4 (128.0 MB)
build ▸ Saved local image at /var/lib/heyvm/images/firecracker/images/firecracker/example-static-c4f2-68bbc623ad86.ext4
build ▸ Create a sandbox with: heyvm create --backend firecracker --image example-static-c4f2-68bbc623ad86
build ▸ uploading /var/lib/heyvm/images/firecracker/images/firecracker/example-static-c4f2-68bbc623ad86.ext4 (134217728 bytes) to the daemon
build ▸ installed as /var/lib/heyvm/images/firecracker/example-static-c4f2-68bbc623ad86.ext4 on the daemon
build ▸ vm.image (daemon default) -> example-static-c4f2-68bbc623ad86; pool recycling
app-lb ▸ built image example-static-c4f2-68bbc623ad86
heyo ▸ waiting for https://example-static-c4f2.us5.heyo.work to answer
fireme ▸ build 1 failed: The VM booted, but the app never answered; the agent is fixing it
agent ▸ mercury-3 on Inception, then z-ai/glm-5.3-flash on OpenRouter reading the evidence…
agent ▸ heyo_rules
agent ▸ analyze_dockerfile
agent ▸ submit_build accepted
agent ▸ The Alpine `busybox` build doesn't include the `httpd` applet, so `busybox httpd` failed with "applet not found" and nothing ever listened on 8080 — hence the HTTP 500. I added `darkhttpd` (a tiny static-file server) to the image and changed the start command to `darkhttpd /srv/www --port 8080`, which binds to 0.0.0.0 and serves /srv/www; the build was accepted.
store ▸ fireup/example-static-c4f2-recipe:c4f20684-r1 → 4ea2bdd53b56
app-lb ▸ deployment example-static-c4f2 registered (build 2 of at most 3)
app-lb ▸ build job-50acc87537b0 started
build ▸ fireup/example-static-c4f2-recipe:c4f20684-r1 resolves to 4ea2bdd53b566aab1401e574e4f0cc4f146abb881025d9044302c9eced628053 at https://admin.us5.heyo.work/namespaces/fireup/artifacts (Dockerfile 6c12f7fa856d, 115 B)
build ▸ fetching 115 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/6c12f7fa856df3b4bc6b7c8119f494eb107a7e04527b4eefab0fd4d5b0e006c1
build ▸ fetching 902 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/0b2480b04951363dde7c35b1c1f8a130860fb11d43935a4005dab5c7e5cee9cf
build ▸ unpacked 3 files (995 B) of build context
build ▸ the Dockerfile never mentions /init.sh, so app-lb adds its standard guest init (it starts nothing; the deployment's start_command starts the app)
build ▸ $ heyvm mvm build -f /var/lib/app-lb/builds/example-static-c4f2/.recipe/Dockerfile.app-lb -c /var/lib/app-lb/builds/example-static-c4f2/.recipe/context -n example-static-c4f2-4ea2bdd53b56 --local-only
build ▸ Checking prerequisites...
build ▸   Docker: OK
build ▸   mke2fs: OK
build ▸   Running as root, fakeroot not needed
build ▸ Building Docker image from /var/lib/app-lb/builds/example-static-c4f2/.recipe/Dockerfile.app-lb...
build ▸   Docker build complete: heyvm-rootfs-example-static-c4f2-4ea2bdd53b56:latest
build ▸ Exporting container filesystem...
build ▸   Exported 8.6 MB tar archive
build ▸ Creating ext4 rootfs image (128 MB)...
build ▸   Created rootfs.ext4 (128.0 MB)
build ▸ Cleanup: removing Docker container and image...
build ▸ Build complete: /tmp/.tmpJJdt02/rootfs.ext4 (128.0 MB)
build ▸ Saved local image at /var/lib/heyvm/images/firecracker/images/firecracker/example-static-c4f2-4ea2bdd53b56.ext4
build ▸ Create a sandbox with: heyvm create --backend firecracker --image example-static-c4f2-4ea2bdd53b56
build ▸ uploading /var/lib/heyvm/images/firecracker/images/firecracker/example-static-c4f2-4ea2bdd53b56.ext4 (134217728 bytes) to the daemon
build ▸ installed as /var/lib/heyvm/images/firecracker/example-static-c4f2-4ea2bdd53b56.ext4 on the daemon
build ▸ vm.image (daemon default) -> example-static-c4f2-4ea2bdd53b56; pool recycling
app-lb ▸ built image example-static-c4f2-4ea2bdd53b56
heyo ▸ waiting for https://example-static-c4f2.us5.heyo.work to answer
heyo ▸ live: https://example-static-c4f2.us5.heyo.work answered 200