// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile { "name": "Shimmie Dockerfile", "build": { "context": "..", "dockerfile": "../Dockerfile", "target": "devcontainer" }, "workspaceMount": "source=${localWorkspaceFolder},target=/app,type=bind", "workspaceFolder": "/app", // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, "forwardPorts": [8000], "postStartCommand": "./.docker/entrypoint.sh unitd --no-daemon --control unix:/var/run/control.unit.sock", "containerEnv": { "UID": "2000", "GID": "2000", "UPLOAD_MAX_FILESIZE": "50M" }, "customizations": { "vscode": { "extensions": [ "recca0120.vscode-phpunit", "ryanluker.vscode-coverage-gutters", "xdebug.php-debug", "DEVSENSE.phptools-vscode", "ms-azuretools.vscode-docker", "SanderRonde.phpstan-vscode" ], "settings": { "phpunit.args": [ "--configuration", "${workspaceFolder}/tests/phpunit.xml", "--coverage-clover", "data/coverage.clover" ], "coverage-gutters.coverageFileNames": [ "data/coverage.clover" ], "phpstan.configFile": "tests/phpstan.neon" } } } // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "devcontainer" }