Documentation
Run with Docker

Run with Docker

Run the image from dusanstanojeviccs/open-artifact on Docker Hub. You need Docker; you do not need to clone or build the project.

React, Tailwind, shadcn, Node, and the compiler are inside the image. Creating an artifact never installs packages.

The first Docker Hub publication is pending. Until the image is available, clone the repository and run docker build -t dusanstanojeviccs/open-artifact:latest . before the command below.

Start the server

Choose your username and replace choose-a-long-password with a password of at least 12 characters. Those are the only settings you need:

Terminal
docker run -d --name open-artifact \
  -p 127.0.0.1:3000:3000 \
  -e ARTIFACT_USERNAME=admin \
  -e ARTIFACT_PASSWORD='choose-a-long-password' \
  -v open-artifact-data:/data \
  --restart unless-stopped \
  dusanstanojeviccs/open-artifact:latest

Open http://localhost:3000 (opens in a new tab) and sign in. Then connect your AI client.

The named volume keeps your artifacts when the container is replaced. The port mapping exposes the server only on your computer. Use localhost:3000 as the browser address.

The image defaults to ALLOW_OUTSIDE_REQUESTS=true so traffic can cross the Docker network. To share online, put it behind HTTPS and set PUBLIC_URL to that exact origin. Railway provides HTTPS and persistent volumes.

Stop, restart, or update

docker logs -f open-artifact
docker stop open-artifact
docker start open-artifact

To update, back up your data, pull the image, and replace the container using the same volume and settings:

docker pull dusanstanojeviccs/open-artifact:latest
docker stop open-artifact
docker rm open-artifact
# Run the start command above again.

For a fixed version, use a release tag such as :0.1.2 or a verified image digest instead of :latest.

Verify the image signature

The Docker release workflow signs the image digest with Cosign (opens in a new tab) using GitHub’s workflow identity. It also publishes build provenance and an SBOM.

After installing Cosign, verify a release before running it. Replace the version with the release you want:

VERSION=0.1.2
cosign verify "dusanstanojeviccs/open-artifact:$VERSION" \
  --certificate-identity "https://github.com/dusanstanojeviccs/open-artifact/.github/workflows/publish.yml@refs/tags/v$VERSION" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Use the verified sha256 digest in your docker run command to keep that exact image. Docker does not verify Cosign signatures automatically.

Data and configuration

/data contains the catalog, each artifact’s SQLite database, code versions, and assets. Stop the container before making a filesystem backup of the entire volume. Use one server process per data directory.

You can change the storage path, size limits, network access, and credentials through configuration. The repository also includes compose.yaml for Docker Compose.