Created
April 20, 2018 16:29
-
-
Save airatkh/92ac981ba373a1c8ff2c4a2ade2a64c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM center.u4u.online/ubuntudev | |
RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - | |
RUN DEBIAN_FRONTEND=noninteractive apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
libfontconfig \ | |
imagemagick \ | |
gettext \ | |
gcc \ | |
nodejs \ | |
dialog \ | |
net-tools \ | |
nginx-extras | |
#RUN ln -s /usr/bin/nodejs /usr/bin/node | |
RUN mkdir /opt/front | |
WORKDIR /opt/front | |
ADD package.json . | |
RUN npm install -g gulp | |
RUN chown -R www-data:www-data /opt/front/ | |
RUN chown -R www-data:www-data /var/www/ | |
USER www-data | |
RUN npm install | |
#RUN npm install babel-plugin-transform-react-jsx | |
ENV HOME /opt/front |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment