ak / Dockerfile
zhengr's picture
Update Dockerfile
f42df8f verified
raw
history blame contribute delete
642 Bytes
#FROM registry.cn-shanghai.aliyuncs.com/akfamily/aktools:1.8.99
#FROM clarkck/aktools:v0.0.89-v1.15.82
FROM kkqy/aktools:latest
RUN pip install aktools --upgrade -i https://pypi.org/simple # 安装的版本需大于 0.0.81
RUN pip install akshare-proxy-patch # AKTools's version should great than 0.0.88
RUN chmod -R 777 /usr/local/lib/python3.13/site-packages/aktools
COPY akt.py .
RUN pip install fastapi==0.107.0
# Expose the port the app runs on
EXPOSE 8080
#RUN pip install "starlette<0.27.0"
CMD ["python", "-m", "aktools", "--host", "0.0.0.0", "--port", "8080"]
#CMD ["python", "akt.py", "--host", "0.0.0.0", "--port", "8080"]