fix: version
This commit is contained in:
parent
dec58fd6d1
commit
e2d6b5bf64
@ -50,7 +50,7 @@ export const post: RequestHandler = async (event) => {
|
||||
try {
|
||||
if (!dev) {
|
||||
await asyncExecShell(
|
||||
`docker run --rm -tid --env-file .env -v /var/run/docker.sock:/var/run/docker.sock -v coolify-db coollabsio/coolify:latest /bin/sh -c "env | grep COOLIFY > .env && docker stop -t 0 coolify && docker stop -t 0 coolify-redis && export TAG=${latestVersion} && docker compose up -d --force-recreate"`
|
||||
`docker run --rm -tid --env-file .env -v /var/run/docker.sock:/var/run/docker.sock -v coolify-db coollabsio/coolify:${latestVersion} /bin/sh -c "env | grep COOLIFY > .env && echo 'TAG=${latestVersion}' >> .env && docker stop -t 0 coolify && docker stop -t 0 coolify-redis && docker compose up -d --force-recreate"`
|
||||
);
|
||||
return {
|
||||
status: 200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user