From: Parker Berberian Date: Wed, 10 Jul 2019 18:55:44 +0000 (-0400) Subject: Fixes Building and Deploying Containers X-Git-Tag: 2.0.99~61^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0024516090ba8290f654c8dbeac1b7957c8a8547;p=laas.git Fixes Building and Deploying Containers By not mounting the local directory in the container, we avoid the problem of the static files being overwritten. This change forces you to run `make build; make dev-up` for *every* change, even templates. Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702 Signed-off-by: Parker Berberian --- diff --git a/docker-compose.override-dev.yml b/docker-compose.override-dev.yml index e1e1632..0087c23 100644 --- a/docker-compose.override-dev.yml +++ b/docker-compose.override-dev.yml @@ -12,14 +12,10 @@ services: web: image: opnfv/pharos-tools-laas-dashboard:dev build: - context: . - dockerfile: web/Dockerfile - volumes: - - ./src:/pharos_dashboard + context: . + dockerfile: web/Dockerfile worker: image: opnfv/pharos-tools-laas-celery:dev build: - context: . - dockerfile: worker/Dockerfile - volumes: - - ./src:/pharos_dashboard + context: . + dockerfile: worker/Dockerfile