From 14ea08ca7c1d6f8bd612f7791dd2c04c811c6fff Mon Sep 17 00:00:00 2001 From: Programster Date: Sat, 8 Apr 2017 07:53:36 +0100 Subject: [PATCH] changing ADD to COPY, I keep getting them the wrong way round --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17a8cf3b..85d3b15f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM centos RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash - RUN yum install -y git make gcc nodejs ImageMagick && yum clean all -ADD app /app +COPY app /app WORKDIR /app/ ENV NODE_ENV production RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs