feature: add unzip for composer install
This commit is contained in:
parent
4153ca39c2
commit
65bb536d49
@ -8,7 +8,7 @@ FROM mlocati/php-extension-installer:$PHP_EXTENSION_INSTALL_VERSION AS php-exten
|
|||||||
FROM php:$PHP_CLI_VERSION
|
FROM php:$PHP_CLI_VERSION
|
||||||
|
|
||||||
# 系统依赖安装
|
# 系统依赖安装
|
||||||
RUN apk add --no-cache supervisor
|
RUN apk add --no-cache supervisor unzip
|
||||||
|
|
||||||
# PHP 扩展安装
|
# PHP 扩展安装
|
||||||
# install-php-extensions https://github.com/mlocati/docker-php-extension-installer
|
# install-php-extensions https://github.com/mlocati/docker-php-extension-installer
|
||||||
|
11
README.md
11
README.md
@ -119,4 +119,13 @@ docker build -t {image-name} .
|
|||||||
docker run --rm -p 8787:8787 {image-name}
|
docker run --rm -p 8787:8787 {image-name}
|
||||||
```
|
```
|
||||||
|
|
||||||
访问 http://localhost:8787 即可
|
访问 http://localhost:8787 即可
|
||||||
|
|
||||||
|
|
||||||
|
## For Developer
|
||||||
|
|
||||||
|
修改 Dockerfile 后测试方式:
|
||||||
|
|
||||||
|
1. 新建 `.env` 文件,其中配置 `docker-compose.yml` 中的 env 变量
|
||||||
|
2. 执行build:`docker-compose build webman`
|
||||||
|
3. 本机测试:`docker run --rm -it {ImageName}:{ImageTag} /bin/sh`
|
||||||
|
Loading…
Reference in New Issue
Block a user