File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM node:8
2
+
3
+ RUN apt-get update -y
4
+ RUN npm install -g grunt-cli && npm install -g bower
5
+
6
+ RUN apt-get install -y apt-transport-https lsb-release ca-certificates && \
7
+ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \
8
+ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
9
+
10
+ RUN apt-get update && \
11
+ apt-get install -y \
12
+ php7.3 \
13
+ php7.3-bcmath \
14
+ php7.3-gd \
15
+ php7.3-intl \
16
+ php7.3-mbstring \
17
+ php7.3-opcache \
18
+ php7.3-pdo \
19
+ php7.3-soap \
20
+ php7.3-xsl \
21
+ php7.3-zip \
22
+ php7.3-pdo-mysql \
23
+ && apt-get clean
24
+
25
+ RUN mkdir -p /home/app \
26
+ && usermod -d /home/app -l app node \
27
+ && chown -R app /home/app
28
+
29
+ USER app
30
+
31
+ WORKDIR /var/www/html
You can’t perform that action at this time.
0 commit comments