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