We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.https://hub.docker.com/r/nevinee/python 按照说明配置好docker;把https://github.com/leifengwl/JDRouterPush.git打包的文件拷贝在映射目录python下 2.先执行docker exec -it python bash 然后 pip install requests markdown pytz 3.GlobalVariable.py里把环境变量填好 4.在映射目录python下加入crontab.list文件,内容如下:36 6 * * * python JDRouterPush.py 5、docker-compose配置示例: version: "2.0" services: python: image: nevinee/python container_name: python restart: always tty: true network_mode: bridge hostname: python volumes: - /opt/docker/python/:/root
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.https://hub.docker.com/r/nevinee/python 按照说明配置好docker;把https://github.com/leifengwl/JDRouterPush.git打包的文件拷贝在映射目录python下
2.先执行docker exec -it python bash
然后 pip install requests markdown pytz
3.GlobalVariable.py里把环境变量填好
4.在映射目录python下加入crontab.list文件,内容如下:36 6 * * * python JDRouterPush.py
5、docker-compose配置示例:
version: "2.0"
services:
python:
image: nevinee/python
container_name: python
restart: always
tty: true
network_mode: bridge
hostname: python
volumes:
- /opt/docker/python/:/root
The text was updated successfully, but these errors were encountered: