Rebuild button uses --no-cache to force fresh frontend compile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
584fe806d9
commit
066c03872d
1 changed files with 2 additions and 1 deletions
|
|
@ -259,7 +259,8 @@ async function deploy(target, repoName) {
|
|||
|
||||
async function rebuild(target, repoName) {
|
||||
const p = target.path
|
||||
return runRemote(target, repoName, `docker compose -f ${p}/docker-compose.yml --project-directory ${p} up -d --build`, 'rebuild')
|
||||
const cmd = `docker compose -f ${p}/docker-compose.yml --project-directory ${p} build --no-cache && docker compose -f ${p}/docker-compose.yml --project-directory ${p} up -d`
|
||||
return runRemote(target, repoName, cmd, 'rebuild')
|
||||
}
|
||||
|
||||
// ── Routes ────────────────────────────────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue