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

Add some modifications to Dockerfile and add script start.sh

Node version has been changed to 8-alpine because Java 8 was not available in node:7.10
parent 17d99030
FROM node:7.10
FROM node:8-alpine
RUN apk update && apk add openjdk8
RUN mkdir -p /usr/src/app/hublot
WORKDIR /usr/src/app/hublot
RUN mkdir -p ./tmp
COPY package.json /usr/src/app/hublot
RUN npm --version
RUN npm install
RUN npm run setup
COPY . /usr/src/app/hublot
CMD ["node","app.js"]
RUN chmod +x start.sh
CMD ./start.sh
npm run webdriver-start
npm start
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