diff --git a/Dockerfile b/Dockerfile index 15bc787f8..aa0012c2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,14 @@ -FROM erxes/runner:latest +FROM node:12.16.3-slim +ARG DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && \ + apt-get install -y gnupg2 && \ + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 && \ + echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" | tee /etc/apt/sources.list.d/mongodb-org-3.6.list +RUN apt-get update && \ + apt-get install -y \ + rsync python build-essential mongodb-org-shell mongodb-org-tools && \ + rm -rf /var/lib/apt/lists/* WORKDIR /erxes-api/ RUN chown -R node:node /erxes-api COPY --chown=node:node . /erxes-api diff --git a/email-verifier/Dockerfile b/email-verifier/Dockerfile index ef70cb19e..e561617d3 100644 --- a/email-verifier/Dockerfile +++ b/email-verifier/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10.16.0-slim +FROM node:12.16.3-slim WORKDIR /erxes-email-verifier RUN chown -R node:node /erxes-email-verifier COPY --chown=node:node . /erxes-email-verifier diff --git a/engages-email-sender/Dockerfile b/engages-email-sender/Dockerfile index 17de6cb31..b50bb8f8c 100644 --- a/engages-email-sender/Dockerfile +++ b/engages-email-sender/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10.16.0-slim +FROM node:12.16.3-slim WORKDIR /erxes-engages RUN chown -R node:node /erxes-engages COPY --chown=node:node . /erxes-engages diff --git a/logger/Dockerfile b/logger/Dockerfile index d42dbad09..758272133 100644 --- a/logger/Dockerfile +++ b/logger/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10.16.0-slim +FROM node:12.16.3-slim WORKDIR /erxes-logger/ RUN chown -R node:node /erxes-logger COPY --chown=node:node . /erxes-logger