forked from fjqtp/rating
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (27 loc) · 799 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM php:7.4.2-fpm
# Install dependencies
RUN apt-get update && apt-get install -y \
git \
nodejs \
zip \
libpng-dev \
libicu-dev \
libzip-dev \
zlibc \
zlib1g \
&& docker-php-ext-install zip \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl \
&& docker-php-ext-install opcache \
&& docker-php-ext-install mysqli \
&& docker-php-ext-configure pdo_mysql \
&& docker-php-ext-install pdo pdo_mysql \
&& docker-php-ext-install gd
RUN curl -sL https://getcomposer.org/installer | php -- --install-dir /usr/bin --filename composer
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt install -y nodejs npm
#RUN ln -s /usr/bin/nodejs /usr/bin/node
#RUN npm install
#RUN npm fund
#RUN npm audit fix
#RUN npm install bower