update headless bot and docker

This commit is contained in:
kulikov0 committed 2026-05-16 13:27:31 +02:00
1 parent e94d0b2fb7
commit a6f607e914
5 files changed
+129 -25

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ COPY headless /src/headless
RUN go -C /src/headless/vk build -trimpath -ldflags="-s -w" -o /out/headless-vk-creator . \
&& go -C /src/headless/telemost build -trimpath -ldflags="-s -w" -o /out/headless-telemost-creator . \
&& go -C /src/headless/wbstream build -trimpath -ldflags="-s -w" -o /out/headless-wbstream-creator . \
&& go -C /src/headless/dion build -trimpath -ldflags="-s -w" -o /out/headless-dion-creator . \
&& go -C /src/headless/vk-bot build -trimpath -ldflags="-s -w" -o /out/headless-vk-bot .
FROM debian:bookworm-slim
@@ -24,6 +25,7 @@ RUN useradd --system --create-home --home /home/wlb --shell /usr/sbin/nologin wl
COPY --from=build /out/headless-vk-creator /opt/wlb/bin/
COPY --from=build /out/headless-telemost-creator /opt/wlb/bin/
COPY --from=build /out/headless-wbstream-creator /opt/wlb/bin/
COPY --from=build /out/headless-dion-creator /opt/wlb/bin/
COPY --from=build /out/headless-vk-bot /usr/local/bin/
COPY headless/docker/entrypoint.sh /usr/local/bin/wlb-entrypoint