1
0
Fork 0
mirror of https://github.com/dragonfireclient/hydra-dragonfire.git synced 2024-11-21 02:14:01 -05:00
hydra-dragonfire/Dockerfile
2022-12-23 14:31:24 +01:00

9 lines
218 B
Docker

FROM golang:1.18.9 as builder
WORKDIR /app
COPY . .
RUN go test ./... &&\
CGO_ENABLED=0 go build .
FROM scratch
COPY --from=builder /app/hydra-dragonfire /bin/hydra-dragonfire
ENTRYPOINT ["/bin/hydra-dragonfire"]