FinRL Docker & Self-Hosted Deployment

GitHub

FinRLยฎ: Financial Reinforcement Learning. ๐Ÿ”ฅ

1. Pull Image (DOCKERHUB) docker pull AI4Finance-Foundation/FinRL:latest
2. Docker Run (1-Click Launch) docker run -d --name finrl --restart always ai4finance-foundation/finrl:latest
3. Podman Run podman run -d --name finrl --restart always ai4finance-foundation/finrl:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/ai4finance-foundation/finrl:latest
5. ORAS Pull (OCI Artifact) oras pull ai4finance-foundation/finrl:latest
docker/Dockerfile
FROM stablebaselines/rl-baselines3-zoo

WORKDIR /src

COPY requirements.txt .

RUN pip install -r requirements.txt -I

RUN pip install jupyterlab

# Add Tini. Tini operates as a process subreaper for jupyter. This prevents kernel crashes.
ENV TINI_VERSION v0.6.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/bin/tini
RUN chmod +x /usr/bin/tini

# copy the code instead of mounting
COPY . .

ENTRYPOINT ["/usr/bin/tini", "--"]

CMD ["jupyter", "lab", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--NotebookApp.token=''","--NotebookApp.password=''","--allow-root"]