Skip to content

Commit 7c370bc

Browse files
committed
feat: smaller image
1 parent d938bda commit 7c370bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM python:3.12-bookworm as builder
1+
FROM python:3.12-alpine as builder
22

3-
RUN pip install uv
3+
RUN apk add uv g++
44

55
WORKDIR /app
66

@@ -13,4 +13,6 @@ COPY build.py /app/build.py
1313

1414
RUN uv pip install --system .
1515

16+
RUN apk del g++
17+
1618
ENTRYPOINT [ "eth-validator-watcher" ]

0 commit comments

Comments
 (0)