Update environment
parent
dadee46aef
commit
ed3d7aa850
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"name": "Debian",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/node:1": {
|
||||
"version": "16"
|
||||
},
|
||||
"ghcr.io/devcontainers/features/python:1": {
|
||||
"version": "3.10"
|
||||
}
|
||||
},
|
||||
"mounts": [
|
||||
{
|
||||
"type": "bind",
|
||||
"source": "${localEnv:HOME}/.gitconfig",
|
||||
"target": "/home/vscode/.gitconfig"
|
||||
},
|
||||
{
|
||||
"type": "bind",
|
||||
"source": "${localEnv:HOME}/.gnupg",
|
||||
"target": "/home/vscode/.gnupg"
|
||||
},
|
||||
{
|
||||
"type": "volume",
|
||||
"source": "sd-webui-3d-open-pose-editor-venv",
|
||||
"target": "${containerWorkspaceFolder}/.venv"
|
||||
},
|
||||
{
|
||||
"type": "volume",
|
||||
"source": "sd-webui-3d-open-pose-editor-nodemodules",
|
||||
"target": "${containerWorkspaceFolder}/node_modules"
|
||||
}
|
||||
],
|
||||
"postCreateCommand": "bash .devcontainer/init.sh"
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
echo "export GPG_TTY=\$(tty)" >> ~/.bashrc
|
||||
|
||||
sudo chown vscode:vscode .venv
|
||||
pipenv install
|
||||
|
||||
sudo chown vscode:vscode node_modules
|
||||
pnpm install
|
||||
|
|
@ -185,8 +185,5 @@ cython_debug/
|
|||
#.idea/
|
||||
|
||||
# Custom
|
||||
/javascript/lazy/*.map
|
||||
/javascript/*.map
|
||||
/stats.html
|
||||
package-lock.json
|
||||
Pipfile.lock
|
||||
.pnpm-store/
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue