Fix devcontainer (#482)

Sorry, I'm just a devcontainer type of guy :D
The restructure of the repo to a monorepo broke some things. I think I corrected them all so far.
I had to add .pnpm-store to the root .gitignore, because the pnpm install in the container places it there. Alternatively, if that is not wanted, I could move the story via env variable afaik to another place inside the container outside of the repo.
This commit is contained in:
NicoVIII
2026-08-30 22:54:54 +10:00
committed by GitHub
parent fd8b70360b
commit d2df0466a9
5 changed files with 36 additions and 6 deletions
+12 -4
View File
@@ -19,7 +19,15 @@
"arktypeio.arkdark",
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint"
]
],
"settings": {
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
},
@@ -42,11 +50,11 @@
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "git submodule update --init --recursive",
"postStartCommand": "pnpm install && pnpm prisma migrate deploy && cd torrential && cargo build --release && cd ..",
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y --no-install-recommends pkg-config libarchive-dev",
"postStartCommand": "pnpm install && pnpm prisma migrate deploy && cd ../torrential && cargo build --release && cd ../server",
"runServices": ["db", "app"],
"service": "app",
"shutdownAction": "stopCompose",
"workspaceFolder": "/workspaces/drop"
"workspaceFolder": "/workspaces/drop/server"
}