mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-03 17:34:59 +00:00
fix: devcontainer part 1 (#3254)
`-r` fix and checkout within volume for performance Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
parent
409e2d348e
commit
be55fce9be
2 changed files with 5 additions and 3 deletions
|
@ -19,5 +19,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"forwardPorts": [8080, 3000],
|
"forwardPorts": [8080, 3000],
|
||||||
"postStartCommand": "make prepare && cp /build/backend-assets /workdir/backend-assets"
|
"postCreateCommand": "git clone https://github.com/mudler/LocalAI.git .",
|
||||||
|
"postStartCommand": "make prepare && cp -r /build/backend-assets /workdir/backend-assets"
|
||||||
}
|
}
|
|
@ -13,7 +13,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/workspace:cached
|
- localai_workspace:/workspace
|
||||||
command: /bin/sh -c "while sleep 1000; do :; done"
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
|
@ -42,4 +42,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./grafana:/etc/grafana/provisioning/datasources
|
- ./grafana:/etc/grafana/provisioning/datasources
|
||||||
volumes:
|
volumes:
|
||||||
prom_data:
|
prom_data:
|
||||||
|
localai_workspace:
|
Loading…
Add table
Add a link
Reference in a new issue