sentinel / .devcontainer /devcontainer.json
jeuko's picture
Sync from GitHub (main)
8018595 verified
// """Dev container Local development"""
{
"name": "sentinel",
// "dockerFile": "Dockerfile",
"image": "python:3.12-slim",
// "initializeCommand": ". ./.env",
"postCreateCommand": "bash ./.devcontainer/setup.sh",
"build": {
"args": {},
"options": [
"--platform=linux/amd64"
]
},
"runArgs": [
"--platform=linux/amd64",
"--add-host=host.docker.internal:host-gateway"
],
"remoteUser": "root",
"containerUser": "root",
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
]
}