changing ADD to COPY, I keep getting them the wrong way round
This commit is contained in:
parent
195bf4eb05
commit
14ea08ca7c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue