add dev container
All checks were successful
Django CI/CD / test (push) Successful in 1m15s
Django CI/CD / build-and-push (push) Successful in 2m26s

This commit is contained in:
2024-11-09 11:22:21 +01:00
parent d9290373b0
commit d81df6452a
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{
"name": "Django Time Tracker",
"dockerFile": "Dockerfile",
"customizations": {
"vscode": {
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.defaultInterpreterPath": "/usr/local/bin/python",
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-azuretools.vscode-docker"
]
}
},
"forwardPorts": [8000],
"postCreateCommand": "poetry install && poetry run python manage.py migrate",
"remoteUser": "vscode"
}