dockerizing
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,12 +1,10 @@
|
||||
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/
|
||||
RUN apt-get update && \
|
||||
apt-get -y install curl && \
|
||||
curl https://gitea.ds9.dedyn.io/olli/debian.ansible.docker/raw/branch/main/build-debian-env.sh >build-debian-env.sh && \
|
||||
bash -ex build-debian-env.sh && \
|
||||
cd / && \
|
||||
git clone https://gitea.ds9.dedyn.io/olli/dabo.git && \
|
||||
chmod 555 /dabo/dabo-bot.sh /dabo/analyze.sh
|
||||
ENV LANG en_US.utf8
|
||||
COPY ./docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
ENTRYPOINT ["/dabo/bot.sh"]
|
||||
|
||||
Reference in New Issue
Block a user