docker build . -t php-apache
Jump to navigation
Jump to search
FROM php:apache COPY . /usr/src/myapp WORKDIR /usr/src/myapp CMD [ "php", "./your-script.php" ]
php:apache
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Advertising: