Skip to content

Commit

Permalink
docs(dockerfile): fix dockerfile interface
Browse files Browse the repository at this point in the history
fix dockerfile interface
  • Loading branch information
ak-quant committed Jan 26, 2022
1 parent fa11773 commit 754e983
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# https://github.com/nikolaik/docker-python-nodejs
FROM nikolaik/python-nodejs:python3.8-nodejs16
FROM python:3.10.1-buster

MAINTAINER Albert King <akshare@akfamily.email.cn>
MAINTAINER AKFamily <aktools@akfamily.email.cn>

# RUN pip install akshare jupyterlab -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --upgrade
RUN pip install akshare jupyterlab scikit-learn scipy --upgrade
RUN pip install --no-cache-dir akshare fastapi uvicorn -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --upgrade
RUN pip install --no-cache-dir aktools --upgrade -i https://pypi.org/simple
5 changes: 0 additions & 5 deletions Dockerfile-AKTools

This file was deleted.

7 changes: 7 additions & 0 deletions Dockerfile-Jupyter
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://github.com/nikolaik/docker-python-nodejs
FROM nikolaik/python-nodejs:python3.8-nodejs16

MAINTAINER AKFamily <[email protected]>

# RUN pip install akshare jupyterlab -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com --upgrade
RUN pip install akshare jupyterlab scikit-learn scipy --upgrade
3 changes: 2 additions & 1 deletion akshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1803,9 +1803,10 @@
1.3.79 add: add dockerfile for aktools interface
1.3.80 fix: fix dockerfile for aktools interface
1.3.81 fix: fix release_and_deploy interface
1.3.82 fix: fix dockerfile interface
"""

__version__ = "1.3.80"
__version__ = "1.3.82"
__author__ = "Albert King"

import sys
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3019,4 +3019,6 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
1.3.80 fix: fix dockerfile for aktools interface
1.3.81 fix: fix release_and_deploy interface
1.3.82 fix: fix dockerfile interface
```

0 comments on commit 754e983

Please sign in to comment.