代码拉取完成,页面将自动刷新
同步操作将从 小鸭子,嘎嘎嘎/ccxt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM ubuntu:18.04
# Supresses unwanted user interaction (like "Please select the geographic area" when installing tzdata)
ENV DEBIAN_FRONTEND=noninteractive
ADD . /ccxt
WORKDIR /ccxt
# Update packages (use us.archive.ubuntu.com instead of archive.ubuntu.com — solves the painfully slow apt-get update)
RUN sed -i 's/archive\.ubuntu\.com/us\.archive\.ubuntu\.com/' /etc/apt/sources.list \
&& apt-get update \
# Miscellaneous deps
&& apt-get -y install curl gnupg git pandoc \
# PHP
&& apt-get install -y php php-curl php-iconv php-mbstring php-bcmath \
# Node
&& curl -sL https://deb.nodesource.com/setup_11.x | bash - \
&& apt-get -y install nodejs \
# Python 2
&& apt-get install -y python-pip \
&& pip2 install --upgrade setuptools \
&& pip2 install tox \
# Python 3
&& apt-get install -y python3 python3-pip \
&& pip3 install --upgrade setuptools \
&& pip3 install tox \
# Copy files to workdir to && install scripts against it (will be replaced with a live-mounted volume at startup)
&& mkdir -p /ccxt \
&& rm -rf /ccxt/node_modules \
# Installs as a local Node & Python module, so that `require ('ccxt')` and `import ccxt` should work after that
&& npm install \
&& ln -s /ccxt /usr/lib/node_modules/ \
&& echo "export NODE_PATH=/usr/lib/node_modules" >> $HOME/.bashrc \
&& cd python \
&& python3 setup.py develop \
&& python setup.py develop \
&& cd .. \
## Remove apt sources
&& apt-get -y autoremove && apt-get clean && apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。