Skip to content

Use with Docker

Download

You don't have to pull the image first. You also can skip this step.

Bash
docker pull chillibits/spice
Bash
docker pull ghcr.io/spicelang/spice

Use

Bash
docker run --rm -it -v $(pwd):/spice/out chillibits/spice
Bash
docker run --rm -it -v $(pwd):/spice/out ghcr.io/spicelang/spice
Bash
docker run --rm -it -v ${pwd}:/spice/out chillibits/spice
Bash
docker run --rm -it -v ${pwd}:/spice/out ghcr.io/spicelang/spice

Customize

Custom output path

You can use another output path by replacing $(pwd)/${pwd} with a custom path.

Example

Bash
docker run --rm -it -v ./project:/spice/out chillibits/spice