| # debian.sh --arch 'amd64' out/ 'bookworm' '@1769990400' |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends wget ca-certificates && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c useradd -m -u 1000 blubbi |
| COPY multi:dc222be9771f10bbe4288fbf3e4872602561d482e824397cdc8f579e639aaaa4 in /usr/lib/ |
| /bin/sh -c ldconfig |
| /bin/sh -c mkdir -p /app/data |
| COPY file:86d18c4a3f6292897868d7f21971c6ecd4c4c56fc19108c8e7be718a6745ba38 in /app/data/tokenizer.json |
| COPY file:77cab52939730d4128ee54fc17de3a8946ec139b68b04cc2a7ad8611575d360e in /app/blubbi-server |
| /bin/sh -c mkdir -p /app/logs /app/models && chown -R blubbi:blubbi /app/logs /app/models |
| WORKDIR /app |
| EXPOSE 8080 |
| ENV BLUBBI_MODELS_DIR=/app/models BLUBBI_MODEL=model.onnx BLUBBI_TOKENIZER=/app/data/tokenizer.json BLUBBI_PORT=8080 BLUBBI_LOG_DIR=/app/logs BLUBBI_MAX_TOKENS=120 BLUBBI_TEMPERATURE=0.8 BLUBBI_TOP_K=50 |
| HEALTHCHECK &{["CMD-SHELL" "wget -qO- http://localhost:8080/health || exit 1"] "30s" "10s" "10s" "0s" '\x03'} |
| USER blubbi |
| CMD ["/app/blubbi-server"] |
| LABEL org.opencontainers.image.created=2026-04-16T16:13:00Z |
| LABEL org.opencontainers.image.revision=d425972ebcf9cdfbe65878f7f8e5e20263ea7c38 |