Renamed to lorabot
This commit is contained in:
+8
-8
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user