14 lines
257 B
Docker
14 lines
257 B
Docker
FROM golang:alpine AS builder
|
|
|
|
LABEL maintainer="vladimir@hodakov.me"
|
|
|
|
COPY . /src
|
|
|
|
RUN cd /src && go build ./cmd/deconnect
|
|
|
|
FROM docker.io/alpine
|
|
|
|
COPY --from=builder /src/deconnect /app/deconnect
|
|
VOLUME /etc/deconnect.yaml
|
|
ENTRYPOINT [ "/app/deconnect" ]
|