Update Dockerfile

This commit is contained in:
Whale 2019-01-30 22:21:27 +08:00 committed by GitHub
parent 84639e463e
commit 42cf855e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,4 +15,4 @@ RUN docker-php-ext-enable swoole
VOLUME ["/root/"]
CMD if [ ! -d "CQBot-swoole" ]; then git clone https://github.com/crazywhalecc/CQBot-swoole.git; fi && cd CQBot-swoole/ && bash
CMD if [ ! -d "CQBot-swoole" ]; then git clone https://github.com/crazywhalecc/CQBot-swoole.git; fi && cd CQBot-swoole/ && bash -c "php start.php"