🔧 Added ENV var for service directory

This commit is contained in:
2021-08-28 14:15:41 -07:00
parent 5c0f4b8c43
commit 76722ab6a1

View File

@@ -2,6 +2,7 @@ FROM node:buster-slim
# Show all node logs # Show all node logs
ENV NPM_CONFIG_LOGLEVEL warn ENV NPM_CONFIG_LOGLEVEL warn
ENV SERVICES=./dist/services
ENV MONGO_URI=mongodb://localhost:27017/threetwo ENV MONGO_URI=mongodb://localhost:27017/threetwo
RUN mkdir /threetwo-import-service RUN mkdir /threetwo-import-service
@@ -36,4 +37,4 @@ RUN npm install
COPY . . COPY . .
EXPOSE 3000 EXPOSE 3000
CMD npm run dev CMD npm start