Skip to content

Feat: Add offline Docker build support with embedded models and cach#2222

Merged
danielaskdd merged 2 commits intoHKUDS:mainfrom
danielaskdd:offline-docker-image
Oct 15, 2025
Merged

Feat: Add offline Docker build support with embedded models and cach#2222
danielaskdd merged 2 commits intoHKUDS:mainfrom
danielaskdd:offline-docker-image

Conversation

@danielaskdd
Copy link
Collaborator

Add offline Docker build support with embedded models and cache

  • Adds GitHub Actions workflow that builds and pushes an offline Docker image tagged from the latest release or commit.
  • Introduces Dockerfile.offline that compiles the web UI with Bun, installs all API extras, and pre-populates tiktoken data so the container runs fully
    offline.
  • Extends .dockerignore and pyproject.toml excludes to keep large data, examples, and scratch directories out of build contexts and Python
    distributions.
  • Adjusts docker-compose.yml to rely on the baked-in tiktoken cache while leaving the host volume mapping as an optional comment.

- Add offline Dockerfile with tiktoken cache
- Create GitHub workflow for offline builds
- Update dockerignore for cleaner builds
- Exclude dev dirs from package setup
- Remove tiktoken volume from compose
@danielaskdd danielaskdd merged commit 1fd02b1 into HKUDS:main Oct 15, 2025
1 check passed
@danielaskdd danielaskdd deleted the offline-docker-image branch October 15, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant