From aa8e7d374c1feb60cdf3d8addacbda97356c1470 Mon Sep 17 00:00:00 2001 From: africlouds Date: Wed, 10 Jun 2020 09:22:47 +0200 Subject: [PATCH] Build frappe with Dockerfile - Build frappe image using development Dockerfile instead of bench:latest image - Exposing port range --- .devcontainer/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index e4346512..3b0907c5 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -19,14 +19,14 @@ services: image: redis:alpine frappe: - image: frappe/bench:latest + build: . command: sleep infinity volumes: - ..:/workspace:cached working_dir: /workspace/development ports: - - "8000:8000" - - "9000:9000" + - "8000-8005:8000-8005" + - "9000-9005:9000-9005" volumes: mariadb-vol: