Jakub Sokołowski 1001b102a9
libp2p-webrtc-star: upgrade to 0.17.6
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-10 10:51:19 +01:00

20 lines
483 B
Docker

FROM node:12.15-alpine3.11
ARG WEBRTC_VERSION
ENV PORT=9090 \
HOST=0.0.0.0
RUN apk update \
&& apk add --no-cache git \
&& yarn global add libp2p-webrtc-star@${WEBRTC_VERSION} \
&& 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 $PORT