diff options
author | eug-vs <eug-vs@keemail.me> | 2020-11-07 12:36:39 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-11-07 12:36:39 +0300 |
commit | a5feeaaca74d82a99bbb8063afee51cb9984f978 (patch) | |
tree | 51f0aed0350ede5932031b87a921baf37035704d /Dockerfile | |
parent | 59bb116afd8d2be1cdd4ccf45a646d58eabab357 (diff) | |
download | which-api-a5feeaaca74d82a99bbb8063afee51cb9984f978.tar.gz |
feat: provide local MONGODB_URI in correct step
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"] |