Skip to content

Commit 9d32cc1

Browse files
committed
clearing things up to allow for adding multiple definitions
Signed-off-by: Nell Shamrell <[email protected]>
1 parent c1057b1 commit 9d32cc1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mongo_seed/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM mongo
2-
COPY definitions.json /definitions.json
3-
CMD mongoimport --host clearlydefined_mongo_db --db clearlydefined --collection definitions-paged --type json --file /definitions.json --jsonArray
2+
RUN mkdir /definitions
3+
COPY ./definitions/* definitions/
4+
CMD mongoimport --host clearlydefined_mongo_db --db clearlydefined --collection definitions-paged --type json --file definitions/definitions.json --jsonArray
File renamed without changes.

0 commit comments

Comments
 (0)