armbian-router/Dockerfile
Tyler 0fdb6911ca
All checks were successful
continuous-integration/drone/push Build is passing
Add proper CMD
2022-03-30 20:43:10 -04:00

15 lines
236 B
Docker

FROM golang:alpine AS builder
ADD . /src
WORKDIR /src
RUN apk add --no-cache git && \
export CGO_ENABLED=0 && \
go build -o /src/dlrouter
FROM alpine
COPY --from=builder /src/dlrouter /usr/bin/dlrouter
CMD "/usr/bin/dlrouter"