]>
Commit | Line | Data |
---|---|---|
1 | FROM node:6.9.2 | |
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 | ||
14 | ENTRYPOINT [ "node", "bin/dasein" ]) |