Build frappe with Dockerfile

- Build frappe image using development Dockerfile instead of bench:latest image
- Exposing port range
This commit is contained in:
africlouds 2020-06-10 09:22:47 +02:00 committed by GitHub
parent 450e1b64aa
commit aa8e7d374c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,14 +19,14 @@ services:
image: redis:alpine image: redis:alpine
frappe: frappe:
image: frappe/bench:latest build: .
command: sleep infinity command: sleep infinity
volumes: volumes:
- ..:/workspace:cached - ..:/workspace:cached
working_dir: /workspace/development working_dir: /workspace/development
ports: ports:
- "8000:8000" - "8000-8005:8000-8005"
- "9000:9000" - "9000-9005:9000-9005"
volumes: volumes:
mariadb-vol: mariadb-vol: