From 928ca71a0fe236ed8fc3c330ff7a5f9cded54bc8 Mon Sep 17 00:00:00 2001 From: Tinywan <756684177@qq.com> Date: Sat, 26 Jun 2021 14:13:37 +0800 Subject: [PATCH] extension --- Dockerfile | 6 +++--- README.md | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 72422eb..656cbcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM php:7.4.14-cli-alpine3.13 -LABEL Maintainer="weijer " \ +LABEL Maintainer="ShaoBo Wan (Tinywan) <756684177@qq.com>" \ Description="Webman Lightweight container with PHP 7.4 based on Alpine Linux." # Add basics first @@ -12,7 +12,7 @@ COPY ./extension /tmp/extension WORKDIR /tmp/extension RUN chmod +x install.sh \ && sh install.sh \ - && rm -rf /tmp/extensions + && rm -rf /tmp/extension RUN php -m @@ -45,4 +45,4 @@ WORKDIR /app EXPOSE 8080 # Let supervisord start nginx & php -CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"] +CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] diff --git a/README.md b/README.md index 87fa24f..1b6dd3e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +## Build + +``` +docker build -t tinywan/docker-php-webman:7.4.14 . +``` ## Usage Start the Docker container: