From 754e9836d973b9974e1bbac299305eeb5c6050b4 Mon Sep 17 00:00:00 2001 From: ak_quant Date: Wed, 26 Jan 2022 18:10:23 +0800 Subject: [PATCH] docs(dockerfile): fix dockerfile interface fix dockerfile interface --- Dockerfile | 9 ++++----- Dockerfile-AKTools | 5 ----- Dockerfile-Jupyter | 7 +++++++ akshare/__init__.py | 3 ++- docs/changelog.md | 2 ++ 5 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 Dockerfile-AKTools create mode 100644 Dockerfile-Jupyter diff --git a/Dockerfile b/Dockerfile index ce6ab8180f1..e8b2d554908 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 +MAINTAINER AKFamily -# 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 diff --git a/Dockerfile-AKTools b/Dockerfile-AKTools deleted file mode 100644 index 249b7ad0b53..00000000000 --- a/Dockerfile-AKTools +++ /dev/null @@ -1,5 +0,0 @@ -FROM python:3.10.1-buster - -USER root -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 diff --git a/Dockerfile-Jupyter b/Dockerfile-Jupyter new file mode 100644 index 00000000000..d2f78eebeaf --- /dev/null +++ b/Dockerfile-Jupyter @@ -0,0 +1,7 @@ +# https://github.com/nikolaik/docker-python-nodejs +FROM nikolaik/python-nodejs:python3.8-nodejs16 + +MAINTAINER AKFamily + +# 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 \ No newline at end of file diff --git a/akshare/__init__.py b/akshare/__init__.py index b7276ace919..72e24b26076 100644 --- a/akshare/__init__.py +++ b/akshare/__init__.py @@ -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 diff --git a/docs/changelog.md b/docs/changelog.md index 879c718ae48..6c63f36e90d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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 ``` \ No newline at end of file