Skip to content

Commit e1971b9

Browse files
authored
Merge pull request makinhs#13 from 3agpot/mongo-connection-string
update mongo connection string with proper mongo host during docker build
2 parents fcba18a + f802044 commit e1971b9

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)