Skip to content

Commit 787e383

Browse files
authored
Merge pull request docker#10342 from thaJeztah/improve_compose
Improve building docs with compose
2 parents adda390 + ebc86d8 commit 787e383

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
COMPOSE_DOCKER_CLI_BUILD=1
2+
DOCKER_BUILDKIT=1

docker-compose.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
version: "2"
1+
version: "3.7"
22
services:
33
docs:
44
build:
55
context: .
6-
dockerfile: Dockerfile
6+
args:
7+
- ENABLE_ARCHIVES=false
78
image: docs/docstage
89
ports:
910
- "4000:4000"
10-
volumes:
11-
- "./:/usr/src/app"

0 commit comments

Comments
 (0)