Renamed to lorabot

This commit is contained in:
2026-05-04 20:52:51 +02:00
parent 61424163da
commit 68fbe22e33
18 changed files with 1138 additions and 176 deletions
+8 -8
View File
@@ -19,12 +19,12 @@ FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
MESHBOT_CONFIG=/etc/meshbot/config.toml \
MESHBOT_STORAGE__SQLITE_PATH=/data/meshbot.db
LORABOT_CONFIG=/etc/lorabot/config.toml \
LORABOT_STORAGE__SQLITE_PATH=/data/lorabot.db
RUN useradd --system --home /app --shell /usr/sbin/nologin meshbot \
&& mkdir -p /data /etc/meshbot \
&& chown meshbot:meshbot /data
RUN useradd --system --home /app --shell /usr/sbin/nologin lorabot \
&& mkdir -p /data /etc/lorabot \
&& chown lorabot:lorabot /data
WORKDIR /app
@@ -32,8 +32,8 @@ COPY --from=builder /wheels/*.whl /tmp/wheels/
RUN pip install --no-cache-dir /tmp/wheels/*.whl \
&& rm -rf /tmp/wheels
USER meshbot
USER lorabot
VOLUME ["/data", "/etc/meshbot"]
VOLUME ["/data", "/etc/lorabot"]
ENTRYPOINT ["meshbot"]
ENTRYPOINT ["lorabot"]