13 lines
382 B
Docker
13 lines
382 B
Docker
|
FROM debian:latest
|
||
|
RUN apt-get update \
|
||
|
&& apt-get install -y npm node-commander git \
|
||
|
&& git clone https://github.com/binance/binance-cli \
|
||
|
&& cd binance-cli \
|
||
|
&& npm install @binance/connector \
|
||
|
&& npm install -g \
|
||
|
&& ln -s /usr/local/lib/node_modules/\@binance/ /usr/lib/nodejs/
|
||
|
ENV LANG en_US.utf8
|
||
|
COPY ./docker-entrypoint.sh /
|
||
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||
|
|