removed things that shouln't be there
This commit is contained in:
parent
378b1029bf
commit
be92f115ef
19
.vscode/launch.json
vendored
19
.vscode/launch.json
vendored
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Docker: Python - Flask",
|
|
||||||
"type": "docker",
|
|
||||||
"request": "launch",
|
|
||||||
"preLaunchTask": "docker-run: debug",
|
|
||||||
"python": {
|
|
||||||
"pathMappings": [
|
|
||||||
{
|
|
||||||
"localRoot": "${workspaceFolder}",
|
|
||||||
"remoteRoot": "/app"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"projectType": "flask"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
40
.vscode/tasks.json
vendored
40
.vscode/tasks.json
vendored
@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "2.0.0",
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"type": "docker-build",
|
|
||||||
"label": "docker-build",
|
|
||||||
"platform": "python",
|
|
||||||
"dockerBuild": {
|
|
||||||
"tag": "simpleblogapi:latest",
|
|
||||||
"dockerfile": "${workspaceFolder}/Dockerfile",
|
|
||||||
"context": "${workspaceFolder}",
|
|
||||||
"pull": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "docker-run",
|
|
||||||
"label": "docker-run: debug",
|
|
||||||
"dependsOn": [
|
|
||||||
"docker-build"
|
|
||||||
],
|
|
||||||
"dockerRun": {
|
|
||||||
"env": {
|
|
||||||
"FLASK_APP": "wsgi.py"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"python": {
|
|
||||||
"args": [
|
|
||||||
"run",
|
|
||||||
"--no-debugger",
|
|
||||||
"--no-reload",
|
|
||||||
"--host",
|
|
||||||
"0.0.0.0",
|
|
||||||
"--port",
|
|
||||||
"5000"
|
|
||||||
],
|
|
||||||
"module": "flask"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user