diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..01cb6e82 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/devcontainers/javascript-node:20 + +# Install Chrome and Firefox +RUN apt-get update && apt-get install -y firefox-esr chromium \ + && apt-get clean && rm -rf /var/lib/apt/lists/* \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..3d8e74b0 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,19 @@ +{ + "name": "Stimulus DevContainer", + "build": { + "dockerfile": "Dockerfile" + }, + "postCreateCommand": "yarn install", + "containerEnv": { + "CHROME_BIN": "/usr/bin/chromium" + }, + "customizations": { + "vscode": { + "settings": {}, + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] + } + } +} \ No newline at end of file