| # 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:1c2726009e223201ae8db3fdde277b2f99134eaf617fd7b05bd29d8cac8e75f6 in /usr/lib/ |
| /bin/sh -c ldconfig && ln -sf /usr/lib/libonnxruntime.so.1.18.1 /usr/lib/onnxruntime.so |
| /bin/sh -c mkdir -p /app/data |
| COPY file:86d18c4a3f6292897868d7f21971c6ecd4c4c56fc19108c8e7be718a6745ba38 in /app/data/tokenizer.json |
| COPY dir:1191fd866954a2a6ce45a61349cb7015252187a00f50c028256c2a9c38285fd8 in /app/static/ |
| COPY file:bf7e9c57b2ce8a440e324fd4e3b3fbb72cf21812041478a129726269667bf70a 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-20T10:55:32Z |
| LABEL org.opencontainers.image.revision=033d10e1bb5c1a0f66db2179b0f03e59293ea502 |