Dockerfile 663 Bytes
Newer Older
Tom Jorquera's avatar
Tom Jorquera committed
1 2 3 4 5 6 7 8 9 10 11
FROM node:8-slim

RUN apt-get update && apt-get install -y wget --no-install-recommends \
    && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
    && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
    && apt-get update \
    && apt-get install -y google-chrome-unstable \
      --no-install-recommends \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get purge --auto-remove -y curl \
    && rm -rf /src/*.deb
12

13 14
WORKDIR /usr/src/app/hublot

15
COPY package.json .
16
COPY yarn.lock .
17

18
RUN yarn install
19

20
COPY . /usr/src/app/hublot
21

22
CMD ["yarn", "start"]