From 76722ab6a1f1ebb8811e9f68f1803dccda20a9d9 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Sat, 28 Aug 2021 14:15:41 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Added=20ENV=20var=20for=20servic?= =?UTF-8?q?e=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 857ad6f..56d6ad2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM node:buster-slim # Show all node logs ENV NPM_CONFIG_LOGLEVEL warn +ENV SERVICES=./dist/services ENV MONGO_URI=mongodb://localhost:27017/threetwo RUN mkdir /threetwo-import-service @@ -36,4 +37,4 @@ RUN npm install COPY . . EXPOSE 3000 -CMD npm run dev \ No newline at end of file +CMD npm start \ No newline at end of file