Hudson and Thames mlfinlab stuff
@ rushi | Thursday, Sep 29, 2022 | 1 minutes read | Update at Thursday, Sep 29, 2022

Dockerfile

FROM python:3.8-slim-buster

RUN apt update && apt install git -y
RUN apt install -y build-essential g++ libgl1-mesa-glx libx11-6 cmake protobuf-compiler -y
RUN python -m pip install jupyter cvxpy
RUN git clone https://github.com/rushic24/mlfinlab.git && cd mlfinlab && python setup.py install
RUN pip install pandas==1.5.2 tqdm statsmodels==0.13.5 numpy==1.23.5

EXPOSE 8890
ENTRYPOINT [ "jupyter", "notebook", "--no-browser", "--port=8890", "--ip=0.0.0.0", "--allow-root" ]

Makefile

# Specify the name of the image
IMAGE_NAME = "mlfinlabstuf"

# Specify the path to the Dockerfile
DOCKERFILE_PATH = "."

# Build the Docker image
build:
	docker build -t $(IMAGE_NAME) $(DOCKERFILE_PATH)

# Run the Docker image
run:
	docker run --rm -it  -v ${PWD}:/work -p 8890:8890 $(IMAGE_NAME)

To run

make build
make run

关于我

g1eny0ung 的 ❤️ 博客

记录一些 🌈 生活上,技术上的事

一名大四学生

马上(已经)毕业于 🏫 大连东软信息学院

职业是前端工程师

业余时间会做开源和 Apple App (OSX & iOS)

主要的技术栈是:

  • JavaScript & TypeScript
  • React.js
  • Electron
  • Rust

写着玩(写过):

  • Java & Clojure & CLJS
  • OCaml & Reason & ReScript
  • Dart & Swift

目前在 PingCAP 工作

– 2020 年 09 月 09 日更新

其他

如果你喜欢我的开源项目或者它们可以给你带来帮助,可以赏一杯咖啡 ☕ 给我。~

If you like my open source projects or they can help you. You can buy me a coffee ☕.~

PayPal

https://paypal.me/g1eny0ung

Patreon:

Become a Patron!

微信赞赏码

wechat

最好附加一下信息或者留言,方便我可以将捐助记录 📝 下来,十分感谢 🙏。

It is better to attach some information or leave a message so that I can record the donation 📝, thank you very much 🙏.