mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
update Dockerfile
This commit is contained in:
parent
52cc7b1db7
commit
bece6865d3
@ -1,5 +1,6 @@
|
||||
FROM php:7.2
|
||||
WORKDIR /root
|
||||
ENV LANG="en_US.UTF-8"
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install curl libxml2 libzip-dev git -y
|
||||
|
||||
# Install php extensions
|
||||
@ -14,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user