Docker updates
This commit is contained in:
parent
c0fddf65bb
commit
8b557c92e1
@ -11,6 +11,9 @@ LABEL maintainer="George <zhoreeq@users.noreply.github.com>"
|
|||||||
COPY --from=builder /src/meshnamed /usr/bin/meshnamed
|
COPY --from=builder /src/meshnamed /usr/bin/meshnamed
|
||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
EXPOSE 53535
|
|
||||||
|
|
||||||
CMD ["/usr/bin/meshnamed", "--help"]
|
COPY docker-entrypoint.sh /usr/local/bin/
|
||||||
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
|
||||||
|
EXPOSE 53535/udp
|
||||||
|
CMD ["meshnamed"]
|
||||||
|
4
docker-entrypoint.sh
Executable file
4
docker-entrypoint.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
exec meshnamed "$@"
|
Loading…
Reference in New Issue
Block a user