tasks.json 441 B

1234567891011121314151617181920212223242526
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "type": "docker-build",
  6. "label": "docker-build",
  7. "platform": "python",
  8. "dockerBuild": {
  9. "tag": "crawlouchn:latest",
  10. "dockerfile": "${workspaceFolder}/Dockerfile",
  11. "context": "${workspaceFolder}",
  12. "pull": true
  13. }
  14. },
  15. {
  16. "type": "docker-run",
  17. "label": "docker-run: debug",
  18. "dependsOn": [
  19. "docker-build"
  20. ],
  21. "python": {
  22. "file": "main.py"
  23. }
  24. }
  25. ]
  26. }