WIP Persistent storage

This commit is contained in:
Andras Bacsai
2022-03-21 16:58:13 +01:00
parent 2320ab0dfc
commit c013764b61
4 changed files with 12 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ export default async function (job) {
`DOCKER_HOST=${host} docker run ${envFound && `--env-file=${workdir}/.env`} ${labels.join(
' '
)} --name ${imageId} --network ${docker.network} --restart always ${
volumes.length > 0 && volumes
volumes.length > 0 ? volumes : ''
} -d ${applicationId}:${tag}`
);
if (stderr) console.log(stderr);