Merge pull request #10342 from thaJeztah/improve_compose

Improve building docs with compose
This commit is contained in:
Usha Mandya 2020-02-25 12:10:35 +00:00 committed by GitHub
commit 787e383322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

2
.env Normal file
View File

@ -0,0 +1,2 @@
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1

View File

@ -1,11 +1,10 @@
version: "2"
version: "3.7"
services:
docs:
build:
context: .
dockerfile: Dockerfile
args:
- ENABLE_ARCHIVES=false
image: docs/docstage
ports:
- "4000:4000"
volumes:
- "./:/usr/src/app"