mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-27 17:15:18 +00:00
17 lines
342 B
Plaintext
17 lines
342 B
Plaintext
|
# syntax=docker/dockerfile:1
|
||
|
# This is run from the parent directory to copy the whole go-libp2p codebase
|
||
|
|
||
|
FROM golang:1.19-alpine AS builder
|
||
|
|
||
|
WORKDIR /app/
|
||
|
|
||
|
COPY ./ .
|
||
|
WORKDIR /app/test-plans
|
||
|
RUN go mod download
|
||
|
RUN go build -o /testplan ./cmd/ping
|
||
|
|
||
|
FROM alpine
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY --from=builder /testplan /testplan
|
||
|
ENTRYPOINT [ "/testplan"]
|