We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96cd7d4 commit fd18b55Copy full SHA for fd18b55
docker-compose.yml
@@ -14,11 +14,15 @@ services:
14
sandbox:
15
# target image.
16
image: "codecasts/php-alpine:sandbox-v${ALPINE_VERSION}-php-${PHP_VERSION}"
17
+ # enable tty.
18
+ tty: true
19
+ # build config.
20
build:
21
context: "sandbox"
22
args:
23
ALPINE_VERSION: ${ALPINE_VERSION}
24
PHP_VERSION: ${PHP_VERSION}
25
+ # declare volumes and mounting.
26
volumes:
27
- "./bin:/opt/php-alpine/bin"
28
- "./scripts/v${ALPINE_VERSION}/php-${PHP_VERSION}:/home/sandbox/php-${PHP_VERSION}"
0 commit comments