Skip to content

Commit 33017c8

Browse files
committed
chore: use beta branch
1 parent fd6f8e6 commit 33017c8

File tree

4 files changed

+441
-39
lines changed

4 files changed

+441
-39
lines changed

docker/runner-default/Dockerfile

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
FROM python:3.11-slim
2-
3-
RUN pip install poetry --no-cache-dir
4-
5-
RUN useradd --create-home beet-bot
6-
WORKDIR /home/beet-bot
7-
USER beet-bot
8-
9-
COPY pyproject.toml poetry.toml ./
10-
COPY runner_default ./runner_default
11-
RUN poetry install
12-
13-
RUN echo '{"pipeline": ["runner_default.bootstrap_environment"]}' \
14-
| poetry run beet -p @beet/preset_stdin.yml
15-
16-
ENTRYPOINT ["poetry", "run"]
1+
FROM python:3.14-slim
2+
3+
COPY --from=ghcr.io/astral-sh/uv:latest /uv
4+
5+
RUN useradd --create-home beet-bot
6+
WORKDIR /home/beet-bot
7+
USER beet-bot
8+
9+
# Do not copy uv.lock to let environment rebuilds upgrade to new versions
10+
COPY pyproject.toml ./
11+
COPY runner_default ./runner_default
12+
RUN uv sync
13+
14+
RUN echo '{"pipeline": ["runner_default.bootstrap_environment"]}' \
15+
| uv run beet -p @beet/preset_stdin.yml
16+
17+
ENTRYPOINT ["uv", "run"]

docker/runner-default/poetry.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
1-
[tool.poetry]
1+
[project]
22
name = "runner-default"
3-
version = "0.0.0"
4-
description = "Default runner environment for the beet bot."
5-
authors = ["Valentin Berlier <[email protected]>"]
3+
version = "0.1.0"
4+
description = "Default runner environment for the beet bot"
65

7-
[tool.poetry.dependencies]
8-
python = "^3.11"
9-
Pillow = "*"
10-
rich = "*"
11-
beet = "*"
12-
lectern = "*"
13-
mecha = "*"
14-
bolt = "*"
15-
bolt-expressions = "*"
16-
minecraft-text-components = "*"
17-
wicked-expressions = "*"
18-
19-
[tool.poetry.dev-dependencies]
20-
21-
[build-system]
22-
requires = ["poetry-core>=1.0.0"]
23-
build-backend = "poetry.core.masonry.api"
6+
requires-python = ">=3.14"
7+
dependencies = [
8+
"beet>=0.0.0b1",
9+
"lectern>=0.0.0b1",
10+
"mecha>=0.0.0b1",
11+
"bolt>=0.0.0b1",
12+
"rich>=14.2.0",
13+
]

0 commit comments

Comments
 (0)