From e15e04f0853362d54b7f2e2abde5044ed967a484 Mon Sep 17 00:00:00 2001 From: Bradley Nelson Date: Sun, 15 May 2022 14:24:24 -0600 Subject: [PATCH] Add dev container --- .devcontainer/Dockerfile | 4 ++++ .devcontainer/devcontainer.json | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..7d2cae50 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,4 @@ +FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:16 +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get install ffmpeg gnupg2 -y +ENV NODE_ENV=development diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..61ee8e9c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,12 @@ +{ + "build": { "dockerfile": "Dockerfile" }, + "mounts": [ + "source=abs-node-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume" + ], + "features": { + "fish": "latest" + }, + "extensions": [ + "eamodio.gitlens" + ] +} \ No newline at end of file