1 Star 0 Fork 1

vv_soft/Lean

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
Juan José D'Ambrosio 提交于 2018-09-24 21:27 +08:00 . Fix unzip command
#
# LEAN Algorithm Docker Container November-2016
# Cross platform deployment for multiple brokerages
#
FROM quantconnect/lean:foundation
MAINTAINER QuantConnect <contact@quantconnect.com>
#################################
# Option 1: Download from Master
# RUN \
# wget https://github.com/QuantConnect/Lean/archive/master.zip && \
# unzip master.zip -d /root/Lean && \
# cd /root/Lean
# RUN \
# sed -i 's/4.5/4.0/' Algorithm.VisualBasic/QuantConnect.Algorithm.VisualBasic.vbproj && \
# wget https://nuget.org/nuget.exe && \
# mono nuget.exe restore QuantConnect.Lean.sln -NonInteractive && \
# xbuild /property:Configuration=Release && \
# cd /root/Lean/Launcher/bin/Release/
#################################
################################
# Option 2: Run Local Binaries:
COPY ./Launcher/bin/Release /root/Lean/Launcher/bin/Release
#################################
# Finally.
WORKDIR /root/Lean/Launcher/bin/Release
CMD [ "mono", "QuantConnect.Lean.Launcher.exe"] # Run app
# Usage:
# docker build -t quantconnect/lean:foundation -f DockerfileLeanFoundation .
# docker build -t quantconnect/lean:algorithm -f Dockerfile .
# docker run -v "(absolute to your data folder):/root/Lean/Data" quantconnect/lean:algorithm
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/dahuotou/Lean.git
git@gitee.com:dahuotou/Lean.git
dahuotou
Lean
Lean
master

搜索帮助