| # 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:21b70ff65f683eef72033a10f5d84946357f84e42bc7b02e9c84866cd91a64ea in /app/data/tokenizer.json |
| COPY dir:1191fd866954a2a6ce45a61349cb7015252187a00f50c028256c2a9c38285fd8 in /app/static/ |
| COPY file:7b5e97e44b90449e069a3083cce0806776eb504ca4416f3cd23ca808ec3c6df6 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-05-03T18:43:35Z |
| LABEL org.opencontainers.image.revision=fc4423003d0fb928825ba34b9bdb93450b801e67 |