mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
fix(ci): add Dockerfile.prebuilt for multi-arch API builds
Was gitignored, causing CI to fail with "no such file" error. Uses TARGETARCH to select the correct cross-compiled binary.
This commit is contained in:
@@ -51,7 +51,6 @@ QWEN.md
|
||||
|
||||
# Local prebuilt binaries
|
||||
mpcd-linux*
|
||||
Dockerfile.prebuilt
|
||||
|
||||
# Dashboard build artifacts
|
||||
dashboard/tsconfig.tsbuildinfo
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
FROM alpine:3.20
|
||||
ARG TARGETARCH
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY mpcd-linux-${TARGETARCH} /usr/local/bin/mpcd
|
||||
RUN chmod +x /usr/local/bin/mpcd
|
||||
EXPOSE 8081 9651 9800
|
||||
ENTRYPOINT ["mpcd"]
|
||||
Reference in New Issue
Block a user