infra-utils/libp2p-webrtc-star/Dockerfile

18 lines
449 B
Docker

FROM node:10.15-alpine
ENV PORT=9090 \
HOST=0.0.0.0
RUN apk update \
&& apk add --no-cache git \
&& yarn global add libp2p-webrtc-star \
&& yarn cache clean \
&& apk del git
LABEL source="https://github.com/status-im/infra-utils" \
description="libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-star" \
maintainer="jakub@status.im"
CMD ["/usr/local/bin/star-signal"]
EXPOSE $DEV_P2P_PORT