This repository has been archived on 2025-04-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
off-cooldown-bot/Dockerfile
T
imcompiling 91900f2b00
build_latest / build (push) Failing after 16s
Update docker file, add a docker ignore.
2025-03-17 21:36:09 -04:00

12 lines
275 B
Docker

FROM python:3.12.3-slim
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
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"]