12345678910111213141516171819202122232425262728293031323334353637383940 |
- {
- "version": "2.0.0",
- "tasks": [
- {
- "type": "docker-build",
- "label": "docker-build",
- "platform": "python",
- "dockerBuild": {
- "tag": "wordtoxml:latest",
- "dockerfile": "${workspaceFolder}/Dockerfile",
- "context": "${workspaceFolder}",
- "pull": true
- }
- },
- {
- "type": "docker-run",
- "label": "docker-run: debug",
- "dependsOn": [
- "docker-build"
- ],
- "dockerRun": {
- "env": {
- "FLASK_APP": "垃圾分类\\2-tf分类.py"
- }
- },
- "python": {
- "args": [
- "run",
- "--no-debugger",
- "--no-reload",
- "--host",
- "0.0.0.0",
- "--port",
- "5000"
- ],
- "module": "flask"
- }
- }
- ]
- }
|