1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

build: force compose to recreate images

This commit is contained in:
Sérgio Ramos 2017-05-31 23:19:26 +01:00
parent df5d8655f9
commit 3ffc3b9d1d

View File

@ -128,7 +128,7 @@ const deploy = async () => {
const env = await getEnv();
LOG(`${figures.arrowRight} deploy`);
return execa('docker-compose', ['up', '-d', '--build'], {
return execa('docker-compose', ['up', '-d', '--build', '--force-recreate'], {
stdio: 'inherit',
env: Object.assign({}, env, {
COMPOSE_PROJECT_NAME: `${name}-${env.CIRCLE_BRANCH}`