diff --git a/services/auth/Dockerfile b/services/auth/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/auth/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] diff --git a/services/client/Dockerfile b/services/client/Dockerfile new file mode 100644 index 000000000..b1197d171 --- /dev/null +++ b/services/client/Dockerfile @@ -0,0 +1,12 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] + diff --git a/services/item/Dockerfile b/services/item/Dockerfile new file mode 100644 index 000000000..b1197d171 --- /dev/null +++ b/services/item/Dockerfile @@ -0,0 +1,12 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] + diff --git a/services/mailer/Dockerfile b/services/mailer/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/mailer/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] diff --git a/services/print/Dockerfile b/services/print/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/print/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] diff --git a/services/production/Dockerfile b/services/production/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/production/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] diff --git a/services/route/Dockerfile b/services/route/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/route/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"] diff --git a/services/salix/Dockerfile b/services/salix/Dockerfile new file mode 100644 index 000000000..3264a1c0a --- /dev/null +++ b/services/salix/Dockerfile @@ -0,0 +1,11 @@ +FROM node:8.9.4 + +COPY . /app +COPY ../loopback /loopback + +WORKDIR /app + +RUN npm install +RUN npm -g install pm2 + +CMD ["pm2-docker", "./server/server.js"]