mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
- Add brand assets and logos - Add KMS integration for secure key management - Add infrastructure configs (cloud providers, monitoring) - Add indexer service with documentation - Update K8s deployments and ingress - Enhance dashboard pages (analytics, assets, infrastructure) - Update auth and API components - Add .gitignore for embedded repos
26 lines
628 B
Docker
26 lines
628 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install uv for faster dependency installation
|
|
RUN pip install uv
|
|
|
|
# Copy project files
|
|
COPY pyproject.toml README.md ./
|
|
COPY bootnode/ bootnode/
|
|
|
|
# Install dependencies
|
|
# Hanzo SDKs are optional - in K8s, the KMS operator injects secrets as env vars
|
|
RUN uv pip install --system -e .
|
|
|
|
# Run the application
|
|
EXPOSE 8000
|
|
CMD ["uvicorn", "bootnode.main:app", "--host", "0.0.0.0", "--port", "8000"]
|