Commit 51239869 authored by Valérian STG_CAZANAVE's avatar Valérian STG_CAZANAVE
Browse files

Change the base image of the Dockerfile, and install some packages.

The base image is now node:8 (and no more node:8-alpine).
Changed the way Java 8 is installed.
Install other packages (chromium, xvfb, libgconf-2-4).
parent 9e800c9d
FROM node:8-alpine
FROM node:8
RUN apk update && apk add openjdk8
RUN echo "deb jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list \
&& apt-get -q update && apt-get -y -q -t jessie-backports install \
chromium \
xvfb \
openjdk-8-jre-headless \
libgconf-2-4 \
&& npm set -g progress=false
RUN mkdir -p /usr/src/app/hublot
WORKDIR /usr/src/app/hublot
# COPY package.json /usr/src/app/hublot
# RUN npm install
COPY . /usr/src/app/hublot
RUN npm install
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment