При сборке получаю:
Unsupported config option for services.docker-php-fpm: 'context'
docker-compose.yaml
version: '3.5'
volumes:
losst-vl:
networks:
losst-network:
services:
docker-nginx:
image: nginx
ports:
- '80:80'
volumes:
- ./:/var/www/html/
- ./nginx:/etc/nginx/conf.d
networks:
- losst-network
docker-mysql:
image: mysql
volumes:
- losst-vl:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=secret
- MYSQL_DATABASE=database
- MYSQL_USER=user
- MYSQL_PASSWORD=password
networks:
- losst-network
docker-phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
ports:
- "81:80"
environment:
- PMA_HOST=docker-mysql
networks:
- losst-network
docker-php-fpm:
build: .
context: ./php-fpm
volumes:
- ./:/var/www/
networks:
- losst-network
php-fpm/Dockerfile
FROM php:7.2.26-fpm-stretch
RUN docker-php-ext-install pdo pdo_mysql pcntl
Подскажите, как исправить?
Хотелось бы, конечно, оставить данную конфигурацию