mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +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
@ -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…
Reference in New Issue
Block a user