Skip to content

Commit fd18b55

Browse files
committed
build
1 parent 96cd7d4 commit fd18b55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@ services:
1414
sandbox:
1515
# target image.
1616
image: "codecasts/php-alpine:sandbox-v${ALPINE_VERSION}-php-${PHP_VERSION}"
17+
# enable tty.
18+
tty: true
19+
# build config.
1720
build:
1821
context: "sandbox"
1922
args:
2023
ALPINE_VERSION: ${ALPINE_VERSION}
2124
PHP_VERSION: ${PHP_VERSION}
25+
# declare volumes and mounting.
2226
volumes:
2327
- "./bin:/opt/php-alpine/bin"
2428
- "./scripts/v${ALPINE_VERSION}/php-${PHP_VERSION}:/home/sandbox/php-${PHP_VERSION}"

0 commit comments

Comments
 (0)