mirror of
https://git.hackfreedom.org/mesh.cat/meshname.git
synced 2026-05-22 06:22:32 +00:00
Add dockerfile
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
FROM docker.io/golang:alpine as builder
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
RUN apk add git make && make
|
||||
|
||||
FROM docker.io/alpine
|
||||
|
||||
LABEL maintainer="George <zhoreeq@users.noreply.github.com>"
|
||||
|
||||
COPY --from=builder /src/meshnamed /usr/bin/meshnamed
|
||||
|
||||
USER nobody
|
||||
EXPOSE 53535
|
||||
|
||||
CMD ["/usr/bin/meshnamed", "--help"]
|
||||
Reference in New Issue
Block a user