Update docker file, add a docker ignore.
build_latest / build (push) Failing after 16s

This commit is contained in:
2025-03-17 21:36:09 -04:00
parent e1a7eae355
commit 91900f2b00
2 changed files with 5 additions and 7 deletions
+3 -7
View File
@@ -3,14 +3,10 @@ FROM python:3.12.3-slim
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
WORKDIR /home
COPY config.py config.py
COPY main.py main.py
COPY pyproject.toml pyproject.toml
COPY cogs cogs/
COPY . /off-cooldown-bot
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /off-cooldown-bot
RUN uv sync --frozen --no-dev
CMD ["uv", "run", "./main.py"]