vyladený štart

This commit is contained in:
2026-05-03 09:57:43 +00:00
parent 776d374b59
commit 51396b53c2
6 changed files with 2225 additions and 1062 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "ili",
"image": "mcr.microsoft.com/devcontainers/javascript-node:22",
"remoteUser": "root",
"updateRemoteUserUID": false,
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
"source=${localEnv:HOME},target=/host-home,type=bind"
],
"forwardPorts": [
3000
],
"postCreateCommand": "bash .devcontainer/post-create.sh"
}
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
corepack enable
corepack prepare pnpm@10.33.0 --activate
ln -sf /host-home/.gitconfig /root/.gitconfig
ln -sf /host-home/.git-credentials /root/.git-credentials
pnpm install