mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
fix: docker issues with volume mapping (#1330)
* fix: docker issues with volume mapping * Update docker-compose.yml --------- Co-authored-by: stunt_pilot <twitchstuntpilot@gmail.com>
This commit is contained in:
parent
9db3d792cc
commit
e69644d7b4
2 changed files with 3 additions and 1 deletions
|
@ -97,7 +97,7 @@ async function validateDockerRunning() {
|
||||||
console.purple('Building new LibreChat image...');
|
console.purple('Building new LibreChat image...');
|
||||||
const buildCommand = `${sudo}docker-compose ${
|
const buildCommand = `${sudo}docker-compose ${
|
||||||
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
|
singleCompose ? '-f ./docs/dev/single-compose.yml ' : ''
|
||||||
}build`;
|
}build --no-cache`;
|
||||||
console.orange(buildCommand);
|
console.orange(buildCommand);
|
||||||
execSync(buildCommand, { stdio: 'inherit' });
|
execSync(buildCommand, { stdio: 'inherit' });
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -38,6 +38,8 @@ services:
|
||||||
- MEILI_HOST=http://meilisearch:7700
|
- MEILI_HOST=http://meilisearch:7700
|
||||||
- MEILI_HTTP_ADDR=meilisearch:7700
|
- MEILI_HTTP_ADDR=meilisearch:7700
|
||||||
volumes:
|
volumes:
|
||||||
|
- /app/client/node_modules # node_modules mapping necessary for module persistence
|
||||||
|
- /app/api/node_modules
|
||||||
- ./api:/app/api
|
- ./api:/app/api
|
||||||
- ./.env:/app/.env
|
- ./.env:/app/.env
|
||||||
- ./.env.development:/app/.env.development
|
- ./.env.development:/app/.env.development
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue