X-Git-Url: https://git.r.bdr.sh/rbdr/dasein/blobdiff_plain/7eb26514c478cfa06a797e9d63a29ef6a6d16d59..a3f9e2603dfdf8c492ec0dc355cd434fc6100f06:/Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..85d78c2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:6.9.4 + +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt-get update && apt-get install yarn + +WORKDIR /app + +COPY package.json /app/ +COPY yarn.lock /app/ +RUN yarn install +COPY . /app + +RUN npm run build + +ENTRYPOINT [ "node", "bin/dasein" ])