Skip to content

Commit 4f21421

Browse files
committed
Fix docker-compose after all dockerfile in one
1 parent 8ba7db5 commit 4f21421

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker-compose.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
version: '3'
1+
version: '3.4'
22

33
services:
44
app:
55
build:
66
context: .
7+
target: symfony_docker_php
78
args:
89
SYMFONY_VERSION: ${SYMFONY_VERSION}
910
STABILITY: ${STABILITY}
@@ -21,7 +22,7 @@ services:
2122
nginx:
2223
build:
2324
context: .
24-
dockerfile: ./Dockerfile.nginx
25+
target: symfony_docker_nginx
2526
depends_on:
2627
- app
2728
volumes:
@@ -35,7 +36,7 @@ services:
3536
h2-proxy:
3637
build:
3738
context: .
38-
dockerfile: ./Dockerfile.h2-proxy
39+
target: symfony_docker_h2-proxy
3940
volumes:
4041
- ./docker/h2-proxy/default.conf:/etc/nginx/conf.d/default.conf:ro
4142
ports:

0 commit comments

Comments
 (0)