Skip to content

Commit f802044

Browse files
committed
updating mongo connection string with proper mongodb host when building the docker image
1 parent fcba18a commit f802044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ WORKDIR /usr/src/app
66

77
COPY . .
88

9+
RUN sed -i "s/mongodb:\/\/localhost/mongodb:\/\/mongo/g" common/services/mongoose.service.js
10+
911
RUN npm install
1012

1113
EXPOSE 3600

0 commit comments

Comments
 (0)