aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-07-10 14:55:44 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-07-10 14:55:44 -0400
commit0024516090ba8290f654c8dbeac1b7957c8a8547 (patch)
tree27fb6339da8d6d805314a7eacfbcb8b2fe86af4e
parent56b36a737f9842c0727b4fc00af9216f7261f9fd (diff)
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 <pberberian@iol.unh.edu>
-rw-r--r--docker-compose.override-dev.yml12
1 files changed, 4 insertions, 8 deletions
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