87874fdc6d
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
37 lines
1.2 KiB
Docker
37 lines
1.2 KiB
Docker
#
|
|
# LEAN Docker Container 20200522
|
|
# Cross platform deployment for multiple brokerages
|
|
#
|
|
|
|
# Use base system
|
|
FROM quantconnect/lean:foundation
|
|
|
|
MAINTAINER QuantConnect <contact@quantconnect.com>
|
|
|
|
#Save foundation image and lean version to environment variable
|
|
ARG LEAN_FOUNDATION_VERSION=UNKNOWN
|
|
ENV LEAN_FOUNDATION_VERSION=$LEAN_FOUNDATION_VERSION
|
|
|
|
ARG LEAN_TAG=UNKNOWN
|
|
ENV LEAN_VERSION=$LEAN_TAG
|
|
|
|
#Install Python Tool for Visual Studio Debugger for remote python debugging
|
|
RUN pip install ptvsd
|
|
|
|
#Install PyDev Debugger for Pycharm for remote python debugging
|
|
RUN pip install pydevd-pycharm~=201.8538.36
|
|
|
|
# Install vsdbg for remote C# debugging in Visual Studio and Visual Studio Code
|
|
RUN wget https://aka.ms/getvsdbgsh -O - 2>/dev/null | /bin/sh /dev/stdin -v 16.9.20122.2 -l /root/vsdbg
|
|
|
|
COPY ./DataLibraries /Lean/Launcher/bin/Debug/
|
|
COPY ./AlphaStreams/QuantConnect.AlphaStream/bin/Debug/ /Lean/Launcher/bin/Debug/
|
|
COPY ./Lean/Launcher/bin/Debug/ /Lean/Launcher/bin/Debug/
|
|
COPY ./Lean/Optimizer.Launcher/bin/Debug/ /Lean/Optimizer.Launcher/bin/Debug/
|
|
COPY ./Lean/Report/bin/Debug/ /Lean/Report/bin/Debug/
|
|
|
|
# Can override with '-w'
|
|
WORKDIR /Lean/Launcher/bin/Debug
|
|
|
|
ENTRYPOINT [ "dotnet", "QuantConnect.Lean.Launcher.dll" ]
|