From c24ff8d26b916b1340cdaf1f1c33c314a6d4a23e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 27 Oct 2020 15:47:51 +0300 Subject: build: add MONGODB_URI to Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index bcb00cc..aeafcc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN npm install COPY . . +ENV MONGODB_URI=mongodb://db:27017/which + EXPOSE 3030 CMD ["npm", "start"] -- cgit v1.2.3