Files
discord-bot-template/Dockerfile
T

13 lines
293 B
Docker

FROM python:3.13.7-slim
# install uv
COPY --from=ghcr.io/astral-sh/uv:0.11.29 /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", "run", "--frozen", "--no-dev", "-m", "${REPO_NAME_SNAKE}"]