complete restructure
This commit is contained in:
@@ -15,4 +15,8 @@ ENV UV_NO_DEV=1
|
||||
WORKDIR /app
|
||||
RUN uv sync --locked
|
||||
|
||||
# Run as a non-root user: /app holds the relative default DB (chat_history.db), /db is the mounted volume
|
||||
RUN useradd -m bot && chown -R bot:bot /app && mkdir -p /db && chown bot:bot /db
|
||||
USER bot
|
||||
|
||||
CMD uv run python -m vibe_bot.main
|
||||
Reference in New Issue
Block a user