| # debian.sh --arch 'amd64' out/ 'trixie' '@1775433600' |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libssl3t64 curl iproute2 socat git ffmpeg python3 chromium chromium-sandbox fonts-liberation libnss3 libgbm1 espeak-ng-data libespeak-ng1 && rm -rf /var/lib/apt/lists/* && curl -LsSf https://astral.sh/uv/install.sh | sh && ln -sf /root/.local/bin/uv /usr/local/bin/uv # buildkit |
| COPY hero_zero/dist/bin/ /root/hero/bin/ # buildkit |
| COPY hero_zero/dist/lib/ /root/hero/lib/ # buildkit |
| COPY hero_zero/dist/share/ /root/hero/share/ # buildkit |
| COPY hero_zero/dist/var/ /root/hero/var/ # buildkit |
| COPY hero_zero/dist/services/ /root/hero/services/ # buildkit |
| COPY hero_zero/dist/profiles/ /root/hero/profiles/ # buildkit |
| COPY hero_zero/dist/templates/hero_redis/ /src/lhumina_code/hero_redis/crates/hero_redis_ui/templates/ # buildkit |
| COPY hero_zero/dist/templates/hero_redis_static/ /src/lhumina_code/hero_redis/crates/hero_redis_ui/static/ # buildkit |
| COPY hero_zero/dist/templates/hero_foundry_ui/ /root/hero/share/hero_foundry_ui/src/static/ # buildkit |
| COPY hero_zero/dist/templates/hero_aibroker/ /src/lhumina_code/hero_aibroker/crates/hero_aibroker_ui/templates/ # buildkit |
| COPY hero_zero/dist/var/embedder/ /root/hero/var/embedder/ # buildkit |
| ENV PATH=/root/hero/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LD_LIBRARY_PATH=/root/hero/lib |
| ENV ORT_DYLIB_PATH=/root/hero/lib/libonnxruntime.so |
| ENV EMBEDDER_MODELS=/root/hero/var/embedder/models |
| ENV HERO_OS_ASSETS=/root/hero/share/hero_os/public |
| ENV HERO_OS_ISLANDS=/root/hero/share/hero_os/islands |
| ENV HERO_SERVICES_ROOT=/root/hero |
| COPY hero_zero/docker/entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| EXPOSE [3030/tcp 3350/tcp 3388/tcp 3875/tcp 6666/tcp 8201/tcp 8804/tcp 8805/tcp 8881/tcp 8883/tcp] |
| ENTRYPOINT ["/entrypoint.sh"] |