added a dev container

this is to make testing the backend more consistent with the actual runtime environment
This commit is contained in:
2024-10-17 18:44:12 +00:00
parent 6fd6ce9e40
commit 6985b11352
4 changed files with 36 additions and 2 deletions

8
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/devcontainers/javascript-node:20-bookworm
# RUN apt-get update && \
# export DEBIAN_FRONTEND=noninteractive && \
# apt-get install -y pandoc texlive
# ^^^ that's a surprise tool that will help us later ^^^
RUN npm install

View File

@@ -0,0 +1,13 @@
{
"build": { "dockerfile": "Dockerfile" },
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"svelte.svelte-vscode"
]
}
},
"forwardPorts": [5173]
}