]> git.r.bdr.sh - rbdr/dasein/blobdiff - Dockerfile
Create and Show Posts (#3)
[rbdr/dasein] / Dockerfile
index 38d991aad35f9f8e2606e8b71bd3e836ce298f83..85d78c21af4484915919ccdfd2ae0841b6e6b58b 100644 (file)
@@ -1,4 +1,4 @@
-FROM node:6.9.2
+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
@@ -11,4 +11,6 @@ COPY yarn.lock /app/
 RUN yarn install
 COPY . /app
 
+RUN npm run build
+
 ENTRYPOINT [ "node", "bin/dasein" ])