This repository packages multiple versions of Rapid (a front-end OSM editor) into a single nginx Docker container, serving them as static files.
rapid2is installed from npm (@rapideditor/rapid@^2.x)rapid3is currently a localfile:../rapiddependency (not yet published to npm); once published it will become a normal npm alias tooscripts/build.shinstalls nothing — it just copiesnode_modules/rapid2/distandnode_modules/rapid3/distinto./dist/rapid2/and./dist/rapid3/./dist/is gitignored on development branches to avoid churn; it is committed only on dedicated release branches- The Dockerfile is intentionally minimal: it just copies
./dist/into an nginx image
This repo is referenced by workspaces-stack (a separate repo), which git clones this project and builds the Docker image via docker-compose.build.yml. No build happens inside Docker — the pre-built dist/ is all that's needed.
See the RELEASE.md for the release checklist.
npm install # or bun/yarn/pnpm — any package manager works
sh ./scripts/build.sh # populates ./dist/
docker build -t workspaces-rapid .
docker run --rm -p 8080:80 workspaces-rapidYou should be able to access:
workspaces-rapid is available under the ISC License. See the LICENSE.md file for more details.