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 bfef75870f
build_develop / build (push) Successful in 17s
Change directory in dockerfile.
2025-03-18 22:09:13 -04:00

13 lines
287 B
Docker

FROM python:3.12.3-slim
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.6.5 /uv /uvx /bin/
COPY . /home
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /home
RUN uv sync --frozen --no-dev
CMD ["uv", "--directory", "./off_cooldown_bot", "run", "main.py"]