File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.23.1-bookworm as pluginBuilder
1+ FROM golang:1.23.1-bookworm AS pluginbuilder
22WORKDIR /app
33COPY . .
44RUN go mod download
55ENV ENV=PRODUCTION
66RUN bash -c /app/scripts/compile_plugins.sh
77
8- FROM golang:1.23.1-bookworm as serverBuilder
8+ FROM golang:1.23.1-bookworm AS serverbuilder
99WORKDIR /app
1010COPY . .
1111RUN go mod download
@@ -14,9 +14,9 @@ RUN go build --trimpath -o /fedai main.go
1414FROM debian:stable AS server
1515WORKDIR /app
1616RUN apt update && apt install -y ffmpeg
17- COPY --from=serverBuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
18- COPY --from=serverBuilder /fedai .
19- COPY --from=serverBuilder /app/scripts/start.sh .
20- COPY --from=pluginBuilder /app/pl/* ./pl/*
17+ COPY --from=serverbuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
18+ COPY --from=serverbuilder /fedai .
19+ COPY --from=serverbuilder /app/scripts/start.sh .
20+ COPY --from=pluginbuilder /app/pl/* ./pl/*
2121
2222CMD [ "/fedai" ]
You can’t perform that action at this time.
0 commit comments