From 2a55c412d29504ce11b6f071ae0758321bcd9797 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 9 Mar 2026 22:39:49 -0400 Subject: [PATCH] fix container build --- .containerignore | 3 +++ Containerfile | 3 +++ README.md | 3 +-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.containerignore b/.containerignore index 593d816..f1d89eb 100644 --- a/.containerignore +++ b/.containerignore @@ -2,3 +2,6 @@ .mypy_cache .vscode .token +*.db +*.env +*.png \ No newline at end of file diff --git a/Containerfile b/Containerfile index 5cc889f..70e8590 100644 --- a/Containerfile +++ b/Containerfile @@ -2,6 +2,9 @@ FROM ghcr.io/astral-sh/uv:python3.13-alpine # Copy the project into the image COPY vibe_bot /app +COPY uv.lock /app +COPY .python-version /app +COPY pyproject.toml /app # Disable development dependencies ENV UV_NO_DEV=1 diff --git a/README.md b/README.md index 16f901d..fc69db8 100644 --- a/README.md +++ b/README.md @@ -188,8 +188,7 @@ uv run main.py podman build -t vibe-bot:latest . # Run -export DISCORD_TOKEN=$(cat .token) -podman run -e DISCORD_TOKEN localhost/vibe-bot:latest +podman run --env-file .env localhost/vibe-bot:latest ``` ## Docs