fix container build

This commit is contained in:
2026-03-09 22:39:49 -04:00
parent 488912a991
commit 2a55c412d2
3 changed files with 7 additions and 2 deletions

View File

@@ -2,3 +2,6 @@
.mypy_cache .mypy_cache
.vscode .vscode
.token .token
*.db
*.env
*.png

View File

@@ -2,6 +2,9 @@ FROM ghcr.io/astral-sh/uv:python3.13-alpine
# Copy the project into the image # Copy the project into the image
COPY vibe_bot /app COPY vibe_bot /app
COPY uv.lock /app
COPY .python-version /app
COPY pyproject.toml /app
# Disable development dependencies # Disable development dependencies
ENV UV_NO_DEV=1 ENV UV_NO_DEV=1

View File

@@ -188,8 +188,7 @@ uv run main.py
podman build -t vibe-bot:latest . podman build -t vibe-bot:latest .
# Run # Run
export DISCORD_TOKEN=$(cat .token) podman run --env-file .env localhost/vibe-bot:latest
podman run -e DISCORD_TOKEN localhost/vibe-bot:latest
``` ```
## Docs ## Docs