boxlang-runtime-digitalocean-applisted
Install: claude install-skill ortus-boxlang/skills
# BoxLang on DigitalOcean App Platform
## Overview
DigitalOcean App Platform supports BoxLang applications via a containerized starter kit. The starter uses BoxLang MiniServer inside a multi-stage Docker build and auto-deploys from GitHub on every push to `main`.
---
## Quick Start
### 1. Get the Starter Kit
```
https://github.com/ortus-boxlang/boxlang-starter-digitalocean
```
Fork or clone the repository:
```bash
git clone https://github.com/ortus-boxlang/boxlang-starter-digitalocean.git myapp
cd myapp
```
### 2. One-Click Deploy
Use the "Deploy to DigitalOcean" button in the starter kit README to create the App Platform app automatically.
### 3. Connect Your Fork
In the DigitalOcean App Platform dashboard:
1. Create a new App
2. Connect your forked GitHub repository
3. Select the `main` branch
4. App Platform detects the Dockerfile and builds automatically
Every push to `main` triggers a new deployment (2–3 minutes build time).
---
## Architecture
The starter uses a **multi-stage Docker build**:
```dockerfile
# Stage 1: Build dependencies
FROM ortussolutions/boxlang:latest AS builder
WORKDIR /app
COPY . .
RUN box install --production
# Stage 2: Runtime image
FROM ortussolutions/boxlang:miniserver
WORKDIR /app
COPY --from=builder /app /app
EXPOSE 8080
CMD ["boxlang-miniserver", "--port", "8080", "--webroot", "/app/www"]
```
| Component | Technology |
|-----------|-----------|
| Web server | BoxLang MiniServer (Undertow) |
| Build | Multi-stage Docker |
| P