Spaces:
Runtime error
Runtime error
{ | |
"name": "FastAPI CodeSpace", | |
"dockerFile": "Dockerfile", | |
"remoteUser": "vscode", | |
"extensions": [ | |
"ms-python.python", | |
"ms-python.vscode-pylance", | |
"dbaeumer.vscode-eslint" | |
], | |
"settings": { | |
"python.autoComplete.addBrackets": true | |
}, | |
"forwardPorts": [8000], | |
"mounts": [ | |
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind", | |
"source=${localWorkspaceFolder}/.env,target=/app/.env,type=bind" | |
], | |
"runArgs": ["-i"], | |
"postCreateCommand": "pip install -r requirements.txt", | |
"remoteEnv": { | |
"FASTAPI_ENV": "development" | |
} | |
} | |