Add config files for Codespaces (#1975)

This commit is contained in:
Ashley Stanton-Nurse
2024-09-20 08:28:03 -07:00
committed by GitHub
parent 23b2e59560
commit 053dc9d76b
3 changed files with 52 additions and 0 deletions

16
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm
# Install pre-reqs for gyp, and 'canvas' npm module
RUN apt-get update && \
apt-get install -y \
make \
gcc \
g++ \
python3-minimal \
libcairo2-dev \
libpango1.0-dev \
&& \
rm -rf /var/lib/apt/lists/*
# Install node-gyp to build native modules
RUN npm install -g node-gyp