remove port mapping
This commit is contained in:
parent
8198509cfc
commit
e7741af34a
|
|
@ -3,10 +3,8 @@
|
|||
{
|
||||
"name": "StableStudio dev",
|
||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
|
||||
"forwardPorts": [3000],
|
||||
// avoid git "dubious ownership" errors, which break yarn
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
||||
"postAttachCommand": "yarn",
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && yarn install",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
|
|
|
|||
|
|
@ -2,12 +2,11 @@
|
|||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
||||
{
|
||||
"name": "StableStudio+WebUI GPU dev",
|
||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
|
||||
"forwardPorts": [3000],
|
||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
|
||||
"postCreateCommand": "cd /home/node && git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git webui && cd webui && python -m venv ~/.webui-venv && bash -c 'source ~/.webui-venv/bin/activate' && pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 && pip install -r requirements_versions.txt",
|
||||
// avoid git "dubious ownership" errors, which break yarn
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
||||
"postAttachCommand": "yarn && echo 'To start the backend, run: cd ~/webui; ./webui.sh'",
|
||||
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && yarn",
|
||||
"postAttachCommand": "echo 'To start the backend, run: cd ~/webui; ./webui.sh'",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue