aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-07 12:36:39 +0300
committereug-vs <eug-vs@keemail.me>2020-11-07 12:36:39 +0300
commita5feeaaca74d82a99bbb8063afee51cb9984f978 (patch)
tree51f0aed0350ede5932031b87a921baf37035704d /Dockerfile
parent59bb116afd8d2be1cdd4ccf45a646d58eabab357 (diff)
downloadwhich-api-a5feeaaca74d82a99bbb8063afee51cb9984f978.tar.gz
feat: provide local MONGODB_URI in correct step
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index aeafcc9..892c159 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,5 @@
+# Dockerfile to build which-api image
+
FROM node:12
WORKDIR /app
@@ -8,8 +10,6 @@ RUN npm install
COPY . .
-ENV MONGODB_URI=mongodb://db:27017/which
-
EXPOSE 3030
CMD ["npm", "start"]