Skip to content

Commit

Permalink
Merge pull request #295 from forabi/master
Browse files Browse the repository at this point in the history
Add devcontainer config
  • Loading branch information
Totto16 authored Jun 8, 2024
2 parents b8cec16 + ccdb55f commit 9b068d7
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:20-alpine

RUN apk update && apk upgrade && apk add gcompat openssl sqlite git openssh-client bash make glib zip && apk add --no-cache tzdata

WORKDIR /app

RUN corepack enable && corepack install -g [email protected]

ENV NODE_ENV=development
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Pano Development Container",
"mounts": [
"source=${localEnv:HOME}/.local/share/gnome-shell/extensions/,target=/root/.local/share/gnome-shell/extensions/,type=bind,consistency=cached"
],
"build": {
"context": ".",
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": ["johnpapa.vscode-peacock"]
}
},
"postCreateCommand": "bash -c 'yarn install -D'"
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}
]
},
"peacock.color": "#5b1943",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#832460",
"activityBar.background": "#832460",
Expand All @@ -42,6 +43,5 @@
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#5b194399",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#5b1943"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@
"pretty-bytes": "^6.1.1",
"prismjs": "^1.29.0",
"validate-color": "https://gitpkg.now.sh/dreamyguy/validate-color/src/validate-color"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 9b068d7

Please sign in to comment.