changing ADD to COPY, I keep getting them the wrong way round

This commit is contained in:
Programster 2017-04-08 07:53:36 +01:00
parent 195bf4eb05
commit 14ea08ca7c

View file

@ -1,7 +1,7 @@
FROM centos FROM centos
RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash - RUN curl --silent --location https://rpm.nodesource.com/setup_7.x | bash -
RUN yum install -y git make gcc nodejs ImageMagick && yum clean all RUN yum install -y git make gcc nodejs ImageMagick && yum clean all
ADD app /app COPY app /app
WORKDIR /app/ WORKDIR /app/
ENV NODE_ENV production ENV NODE_ENV production
RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs