docker-mac-arm64-elysia-vite

Fix Docker build and runtime failures for Elysia and Vite on Mac arm64.

2|Updated May 10, 2026
One-click install
npx skills add https://github.com/freedomw1987/tree_monstor --skill docker-mac-arm64-elysia-vite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-mac-arm64-elysia-vite
Source: https://github.com/freedomw1987/tree_monstor/tree/main/skills/docker-mac-arm64-elysia-vite
Command: npx skills add https://github.com/freedomw1987/tree_monstor --skill docker-mac-arm64-elysia-vite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates common Docker build and deployment failures for full-stack applications using the Elysia (Bun) backend and Vite 8 (rolldown) frontend when running on Mac arm64 (M1/M2/M3/M4) hardware, covering issues like missing system dependencies, platform-specific lockfile errors, bundling crashes, and misconfigured reverse proxies.

Core Features & Use Cases

  • 12 documented pitfall fixes: Covers Prisma libssl dependencies, missing wget in base images, rolldown native binding install failures, Elysia bundler crashes, nginx SPA rewrite cycles, Mac bash PATH bugs, and more.
  • Production-ready templates: Includes a proven full local stack template with copy-paste Dockerfiles, docker-compose.yml, nginx.conf, and entrypoint scripts for Bun/Elysia + Vite + Postgres deployments.
  • Use Case: A developer building a new full-stack app with Elysia and Vite on a MacBook Pro with M3 can use this Skill to avoid hours of debugging Docker build failures, misconfigured nginx reverse proxies, and broken container smoke tests.

Quick Start

Use this skill to troubleshoot Docker build and runtime issues for your Elysia + Vite project running on Mac arm64 hardware, applying the documented pitfall fixes to resolve errors like missing libssl, rolldown binding failures, or nginx SPA rewrite cycles.

Frequently Asked Questions about docker-mac-arm64-elysia-vite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Docker build failures for Elysia and Vite on Mac arm64?

Fix Docker build failures for Elysia and Vite on Mac arm64 by applying targeted pitfall resolutions for missing system dependencies, platform-specific lockfile errors, and rolldown native binding install failures using provided templates.

Why does the Elysia bundler crash during my multi-stage Docker build?

The Elysia bundler crashes during multi-stage Docker builds due to missing base image dependencies and platform-specific lockfile issues on arm64, which are resolved by adjusting the Dockerfile and entrypoint scripts.

How do I configure nginx reverse proxy for a Vite single-page application in Docker?

Configure nginx reverse proxy for a Vite single-page application by correcting SPA fallback rewrite rules in nginx.conf to prevent rewrite cycles, using the production-ready template included for containerized deployments.

Does Vite 8 rolldown work with Bun in a Docker container on Apple Silicon?

Vite 8 rolldown works with Bun in Docker on Apple Silicon by installing required native bindings and resolving platform-specific lockfile errors during the multi-stage Docker build process.

What causes Mac bash subshell PATH bugs in containerized development environments?

Mac bash subshell PATH bugs in containerized development environments occur when local environment variables fail to propagate correctly into Docker containers, requiring specific entrypoint script adjustments to resolve.

How do I resolve missing libssl dependencies when running Prisma with Bun in Docker?

Resolve missing libssl dependencies for Prisma with Bun in Docker by installing the required system packages in the base Docker image, a fix documented among the 12 pitfall resolutions for Elysia and Vite stacks.