From 36454c8119c680d85dacf342bed865122e1536d6 Mon Sep 17 00:00:00 2001 From: zhangchunsheng Date: Wed, 24 Nov 2021 17:05:59 +0800 Subject: [PATCH] add wechaty ca, see https://github.com/wechaty/php-wechaty/issues/16 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c7ab4c8..b055192 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ ENV PHP_WECHATY_DOCKER 1 WORKDIR /php-wechaty COPY docker/composer.json . -COPY . . RUN mkdir /var/log/wechaty @@ -14,6 +13,8 @@ RUN composer config repo.packagist composer https://mirrors.aliyun.com/composer/ # https://packagist.org/packages/wechaty/php-wechaty RUN composer install +COPY . . + RUN chmod +x /php-wechaty/bin/entrypoint.sh WORKDIR /bot