Docker updates

This commit is contained in:
George 2020-12-08 08:05:06 -05:00
parent c0fddf65bb
commit 8b557c92e1
2 changed files with 9 additions and 2 deletions

View File

@ -11,6 +11,9 @@ 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"]
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 53535/udp
CMD ["meshnamed"]

4
docker-entrypoint.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
set -e
exec meshnamed "$@"