mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
update Dockerfile
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
FROM php:7.2
|
FROM php:7.2
|
||||||
WORKDIR /root
|
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
|
RUN apt-get update && apt-get upgrade -y && apt-get install curl libxml2 libzip-dev git -y
|
||||||
|
|
||||||
# Install php extensions
|
# Install php extensions
|
||||||
@@ -14,4 +15,4 @@ RUN docker-php-ext-enable swoole
|
|||||||
|
|
||||||
VOLUME ["/root/"]
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user