This commit is contained in:
万少波 2021-12-07 16:49:07 +08:00
parent 466d3edcd5
commit 859b5039fe
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM php:7.4.26-cli-alpine3.15 FROM php:7.4.26-cli-alpine
LABEL Maintainer="ShaoBo Wan (Tinywan) <756684177@qq.com>" \ LABEL Maintainer="ShaoBo Wan (Tinywan) <756684177@qq.com>" \
Description="Webman Lightweight container with PHP 7.4 based on Alpine Linux." Description="Webman Lightweight container with PHP 7.4 based on Alpine Linux."

View File

@ -6,7 +6,7 @@
## Build ## Build
``` ```
docker build -t tinywan/docker-php-webman:7.4.27 . docker build -t tinywan/docker-php-webman:7.4.26 .
``` ```
## Usage ## Usage
@ -15,16 +15,20 @@ Start the Docker container:
### Linux ### Linux
``` ```
docker run --rm -it -p 8088:8787 -v /home/www/webman:/app tinywan/docker-php-webman:7.4.27 docker run --rm -it -p 8088:8787 -v /home/www/webman:/app tinywan/docker-php-webman:7.4.26
``` ```
### Windows ### Windows
``` ```
docker run --rm -it -p 8088:8787 -v e:/dnmp/www/webman:/app tinywan/docker-php-webman:7.4.27 docker run --rm -it -p 8088:8787 -v e:/dnmp/www/webman:/app tinywan/docker-php-webman:7.4.26
```
## Extensions
``` ```
## Docker ```
## Other
delete all container delete all container
``` ```