2023-02-20 16:40:05 -07:00
|
|
|
{
|
|
|
|
"name": "EveryDream2 Dev Container",
|
2023-02-26 16:20:27 -07:00
|
|
|
// This Dockerfile requires buildx to be enabled by default
|
|
|
|
// `docker buildx install`
|
|
|
|
"build": {
|
|
|
|
"dockerfile": "../../docker/Dockerfile",
|
|
|
|
"target": "runtime"
|
|
|
|
},
|
2023-02-20 16:40:05 -07:00
|
|
|
|
2023-02-26 16:20:27 -07:00
|
|
|
"postStartCommand": "/start.sh",
|
|
|
|
"forwardPorts": [8888, 6006],
|
|
|
|
|
2023-02-20 16:40:05 -07:00
|
|
|
"containerEnv": {
|
2023-02-26 16:20:27 -07:00
|
|
|
"JUPYTER_PASSWORD": "EveryDream"
|
2023-02-20 16:40:05 -07:00
|
|
|
},
|
2023-02-26 16:20:27 -07:00
|
|
|
|
2023-02-20 16:40:05 -07:00
|
|
|
// Mimic RunPod/Vast setup
|
|
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/EveryDream2trainer,type=bind",
|
|
|
|
"workspaceFolder": "/workspace/EveryDream2trainer"
|
|
|
|
}
|