From cbd5d2ed1bcff1c5afce6eb392636395e606285a Mon Sep 17 00:00:00 2001 From: sharkoz Date: Sat, 16 Mar 2019 20:13:22 +0100 Subject: [PATCH] Use pre-built image --- docker-compose.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cf8c6b8c..40f73164 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,16 +8,14 @@ services: volumes: - db:/db-data app: - env_file: docker.env - build: . + image: cosme/babybuddy + env_file: + - /path/to/docker.env command: gunicorn -c /app/gunicorn.py babybuddy.wsgi ports: - "8000:8000" depends_on: - db - volumes: - - baby_data:/app volumes: db: - baby_data: