Skip to content

Commit d013d22

Browse files
committed
Combine clone and sed into single RUN to reduce layers
1 parent b0f647b commit d013d22

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

isponsorblocktv/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ ARG ISPONSORBLOCKTV_VERSION=v2.6.1
88
RUN apk add --no-cache uv git gcc musl-dev
99

1010
WORKDIR /app
11+
# TODO: remove sed once upstream merges Python 3.14 fix
1112
RUN git clone --branch ${ISPONSORBLOCKTV_VERSION} --depth 1 \
12-
https://github.com/dmunozv04/iSponsorBlockTV .
13-
14-
# TODO: remove once upstream merges Python 3.14 fix
15-
RUN sed -i 's/aiohttp==3.12.15/aiohttp==3.13.2/' requirements.txt
13+
https://github.com/dmunozv04/iSponsorBlockTV . \
14+
&& sed -i 's/aiohttp==3.12.15/aiohttp==3.13.2/' requirements.txt
1615

1716
# uv sync reads pyproject.toml, creates .venv, installs all dependencies
1817
RUN uv sync --no-dev --no-editable --index-strategy unsafe-best-match

0 commit comments

Comments
 (0)