Files
Frank Schwenk 063b16296c feat: install Cursor Agent CLI in image with API key auth
Bake agent into the pi user PATH; pass CURSOR_API_KEY from .env so no browser login is required.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 11:50:30 +02:00

19 lines
582 B
Bash

# Copy to .env and fill in. Never commit .env.
# OpenRouter (recommended default provider for this stack)
OPENROUTER_API_KEY=sk-or-v1-replace-me
# Cursor Agent CLI (https://cursor.com/dashboard/api)
# https://cursor.com/docs/cli/reference/authentication
CURSOR_API_KEY=key_replace_me
# Match host user that owns the workspace mount (boka: id -u / id -g → 1002)
PUID=1002
PGID=1002
# Host directory mounted at /workspaces inside the containers.
# On boka:
WORKSPACE_HOST_PATH=/home/frank
# For local smoke tests without /home/frank projects:
# WORKSPACE_HOST_PATH=./workspaces