]> git.r.bdr.sh - rbdr/dasein/blob - Dockerfile
Create and Show Posts (#3)
[rbdr/dasein] / Dockerfile
1 FROM node:6.9.4
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 RUN npm run build
15
16 ENTRYPOINT [ "node", "bin/dasein" ])