]>
Commit | Line | Data |
---|---|---|
287fa13b | 1 | FROM node:6.9.4 |
cc69fef4 RBR |
2 | |
3 | RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
4 | RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
5 | RUN apt-get update && apt-get install yarn | |
6 | ||
7 | WORKDIR /app | |
8 | ||
9 | COPY package.json /app/ | |
10 | COPY yarn.lock /app/ | |
11 | RUN yarn install | |
12 | COPY . /app | |
13 | ||
a6ccda0f RBR |
14 | RUN npm run build |
15 | ||
cc69fef4 | 16 | ENTRYPOINT [ "node", "bin/dasein" ]) |