Add linter config and Dockerfile

This commit is contained in:
2026-05-26 17:21:02 +03:00
parent 4f2d899130
commit 12f4af12e6
2 changed files with 57 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
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 /bin/deconnect
VOLUME /etc/deconnect.yaml
ENTRYPOINT [ "/bin/deconnect" ]