aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-27 15:47:51 +0300
committereug-vs <eug-vs@keemail.me>2020-10-27 15:47:51 +0300
commitc24ff8d26b916b1340cdaf1f1c33c314a6d4a23e (patch)
tree25e3cfd7d51197609e0e9391a02829743b3da83b
parentce673531b12d082350a4996f4ed54a84ac007e3c (diff)
downloadwhich-api-c24ff8d26b916b1340cdaf1f1c33c314a6d4a23e.tar.gz
build: add MONGODB_URI to Dockerfile
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
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"]