using the local files for the docker build rather than performing a git clone. This way if we build from an older release, we will be building that release rather than always the latest version of mailtrain.
This commit is contained in:
parent
bc669c1e05
commit
4b54c36878
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
RUN git clone git://github.com/Mailtrain-org/mailtrain.git /app
|
||||
COPY . /app
|
||||
WORKDIR /app/
|
||||
ENV NODE_ENV production
|
||||
RUN npm install --no-progress --production && npm install --no-progress passport-ldapjs
|
||||
|
|
Loading…
Reference in a new issue