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