Skip to content

Commit 4a8714f

Browse files
committed
Dockerfile: include python build
1 parent a44a93b commit 4a8714f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ COPY . .
88
RUN apk update && apk add make gcc linux-headers libc-dev
99
RUN make STATIC=true build-go
1010

11+
FROM python:alpine AS pybuilder
12+
13+
RUN mkdir -p /src
14+
WORKDIR /src
15+
COPY . .
16+
17+
RUN apk update && apk add make git binutils
18+
RUN make build-py
19+
1120

1221
# Build node app.
1322
FROM node:23-alpine AS nodebuilder
@@ -29,6 +38,8 @@ WORKDIR /app
2938
COPY --from=gobuilder /src/bin/overlordd /app
3039
COPY --from=gobuilder /src/scripts/start_overlordd.sh /app
3140
COPY --from=gobuilder /src/bin/ghost.* /app/webroot/upgrade/
41+
COPY --from=pybuilder /src/bin/ghost.* /app/webroot/upgrade/
42+
COPY --from=pybuilder /src/bin/ovl.* /app/webroot/upgrade/
3243

3344
COPY --from=nodebuilder /src/webroot /app/webroot
3445

0 commit comments

Comments
 (0)