https://github.com/antony/my-pi-sandbox
Sandbox for My-Pi
https://github.com/antony/my-pi-sandbox
Last synced: 14 days ago
JSON representation
Sandbox for My-Pi
- Host: GitHub
- URL: https://github.com/antony/my-pi-sandbox
- Owner: antony
- Created: 2026-06-09T20:53:41.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-11T10:02:39.000Z (about 2 months ago)
- Last Synced: 2026-06-11T12:05:34.217Z (about 2 months ago)
- Language: Dockerfile
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# casing
A small sandbox for running **My Pi** in a Docker-based shell environment.
A pi casing.
## Overview
This workspace packages the [`my-pi`](internal-package.json) CLI into a container built from [Dockerfile](Dockerfile). The image is based on Docker's shell sandbox template and is set up to install and run `my-pi` with `pnpm`.
## What the container does
The build in [Dockerfile](Dockerfile) does the following:
- Starts from `docker/sandbox-templates:shell`
- Installs `build-essential`
- Copies [pnpm-workspace.yaml](pnpm-workspace.yaml)
- Copies [internal-package.json](internal-package.json) into the image as `package.json`
- Enables Corepack
- Installs dependencies with `pnpm`
- Uses [pnpm-lock.yaml](pnpm-lock.yaml) for dependency locking
- Starts the container with:
`pnpm my-pi`
## Project package setup
The package definition in [internal-package.json](internal-package.json) shows that this sandbox:
- Is named `casing`
- Uses `pnpm@11.5.2`
- Expects Node.js `>=25.x`
- Downloads the runtime automatically on failure
- Installs [`my-pi`](internal-package.json) as its main dependency
## Requirements
- Docker
- `docker buildx`
- Internet access during build, so `pnpm` can install dependencies
## Build the image
Build then run the sandbox image:
```sh
pnpm build
pnpm dev
```