Initial commit
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM docker.io/golang:1.19 as builder
|
||||
WORKDIR /usr/local/src
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o kermago
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /usr/local/src/kermago /kermago
|
||||
EXPOSE 18018
|
||||
ENTRYPOINT ["/kermago"]
|
Reference in New Issue
Block a user