...
simple_php:
build:
context: './simple/php/'
args:
PHP_VERSION: ${PHP_VERSION}
volumes:
- ../simple/web/:/var/www/html/
...
ARG PHP_VERSION=""
FROM php:${PHP_VERSION:+${PHP_VERSION}-}fpm-alpine
RUN apk update; \
apk upgrade;
RUN docker-php-ext-install mysqli pdo_mysql
class Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter#981 (5) {
name =>
string(5) "group"
class =>
string(23) "App\Domain\Entity\Group"
options =>
array(0) {
}
isOptional =>
bool(false)
converter =>
string(5) "group"
}
Копирую через volumes в docker-compose.yml