|
@@ -1,4 +1,4 @@
|
|
-FROM phpswoole/swoole:4.5.2-php7.4
|
|
|
|
|
|
+FROM phpswoole/swoole:4.5.9-php7.4
|
|
|
|
|
|
# Installation dependencies and PHP core extensions
|
|
# Installation dependencies and PHP core extensions
|
|
RUN apt-get update \
|
|
RUN apt-get update \
|
|
@@ -21,17 +21,12 @@ RUN apt-get update \
|
|
ca-certificates \
|
|
ca-certificates \
|
|
libjpeg-dev \
|
|
libjpeg-dev \
|
|
libfreetype6-dev \
|
|
libfreetype6-dev \
|
|
|
|
+ inotify-tools \
|
|
&& curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - \
|
|
&& curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - \
|
|
&& apt-get -y install nodejs \
|
|
&& apt-get -y install nodejs \
|
|
&& rm -r /var/lib/apt/lists/* \
|
|
&& rm -r /var/lib/apt/lists/* \
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
|
&& docker-php-ext-install pdo_mysql gd pcntl zip
|
|
&& docker-php-ext-install pdo_mysql gd pcntl zip
|
|
|
|
|
|
-# Copy application file to /var/www
|
|
|
|
-COPY . /var/www
|
|
|
|
-
|
|
|
|
-# Copy scupervisor file conf
|
|
|
|
-COPY docker/wookteam.conf /etc/supervisor/conf.d/wookteam.conf
|
|
|
|
-
|
|
|
|
# Set the WORKDIR to /var/www so all following commands run in /var/www
|
|
# Set the WORKDIR to /var/www so all following commands run in /var/www
|
|
WORKDIR /var/www
|
|
WORKDIR /var/www
|