Adds devcontainer
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "Guardian Newscast Pipeline",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"forwardPorts": [8080],
|
||||
"portsAttributes": {
|
||||
"8080": {
|
||||
"label": "Newscast API",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "pip install -r requirements.txt",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance"
|
||||
],
|
||||
"settings": {
|
||||
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||
"python.envFile": "${workspaceFolder}/.env"
|
||||
}
|
||||
}
|
||||
},
|
||||
"remoteEnv": {
|
||||
"OLLAMA_URL": "http://host.docker.internal:11434/api/generate",
|
||||
"MODEL_NAME": "gemma4:e2b",
|
||||
"PORT": "8080",
|
||||
"POLL_INTERVAL": "21600",
|
||||
"TTS_VOICE": "af_heart",
|
||||
"DATA_DIR": "${workspaceFolder}/data"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user