From 90e17b63e3467a264e95c601250bb6cbd4056742 Mon Sep 17 00:00:00 2001 From: Olivier Corradi Date: Tue, 12 Dec 2017 13:48:40 +0100 Subject: [PATCH] Update caching --- circle.yml | 3 +++ docker-compose.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index cbb20faef0..47626bbdff 100644 --- a/circle.yml +++ b/circle.yml @@ -5,6 +5,9 @@ stages: workDir: ~/electricitymap steps: - type: checkout + - type: shell + name: Install Docker Compose + command: pip install docker-compose==1.17.1 - type: shell name: Show versions command: | diff --git a/docker-compose.yml b/docker-compose.yml index e60731ccb9..24ea9d2a82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2' +version: '3.2' services: mockserver: build: mockserver @@ -9,6 +9,8 @@ services: build: context: . dockerfile: web/Dockerfile + cache_from: + - eu.gcr.io/tmrow-152415/electricitymap_web:production command: npm run server-dev depends_on: ['mockserver'] environment: