1 Star 0 Fork 0

prostory / tensortrade

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
Samuel Duclos 提交于 2022-02-08 01:16 . Chrononet-DQN.
FROM tensorflow/tensorflow:2.7.0-gpu
ENV NVIDIA_VISIBLE_DEVICES \
${NVIDIA_VISIBLE_DEVICES:-all}
ENV NVIDIA_DRIVER_CAPABILITIES \
${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics
# Ensure apt-get won't prompt for selecting options
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /
COPY . ./
SHELL ["/bin/bash", "-c"]
RUN apt-get update && \
apt-get install -yq --assume-yes --no-install-recommends git \
libgl1-mesa-glx \
python3-pip \
python3-dev \
python3-setuptools \
rsync \
wget \
zip && \
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && \
tar -xzf ta-lib-0.4.0-src.tar.gz && \
cd ta-lib/ && \
./configure --prefix=/usr && \
make && \
make install && \
cd .. && \
pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r "./examples/requirements.txt" && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* ta-lib-0.4.0-src.tar.gz
# Faster compilation for tests
RUN pip3 install --no-cache-dir -e ".[docs,tests]"
1
https://gitee.com/prostory/tensortrade.git
git@gitee.com:prostory/tensortrade.git
prostory
tensortrade
tensortrade
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891