From f85afcefbc0e4944f180bb6bb40a84ea2c47bd61 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 25 Mar 2020 20:24:55 +0100 Subject: [PATCH] Fix copy of CHECKS file into place --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9938d0c..7595d3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,6 @@ FROM node:8-stretch ENV NODE_ENV production -COPY . ${WORKDIR} - RUN apt-get update && \ apt-get install --no-install-recommends --yes \ automake \ @@ -24,6 +22,8 @@ RUN \ WORKDIR /usr/src/app +COPY . ${WORKDIR} + RUN npm install --only=production RUN npm install pm2@4.2.3 -g