harbor/make/dev/nodeclarity/Dockerfile

33 lines
764 B
Docker
Raw Normal View History

FROM node:10.7.0
2017-02-21 07:54:42 +01:00
RUN mkdir -p /harbor_resources
RUN mkdir -p /harbor_src
2017-02-21 07:54:42 +01:00
COPY src/ui_ng/package.json /harbor_resources
COPY make/dev/nodeclarity/entrypoint.sh /
2017-02-21 07:54:42 +01:00
# Install Chrome
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
hicolor-icon-theme \
libcanberra-gtk* \
libgl1-mesa-dri \
libgl1-mesa-glx \
libpango1.0-0 \
libpulse0 \
libv4l-0 \
--no-install-recommends
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i google-chrome-stable_current_amd64.deb; apt-get -fy install
RUN rm google-chrome-stable_current_amd64.deb
# Install npm package
WORKDIR /harbor_resources
2017-02-21 07:54:42 +01:00
RUN npm __proxy__ install && \
chmod u+x /entrypoint.sh
VOLUME ["/harbor_src"]