zyliu commited on
Commit
28d7b69
·
1 Parent(s): e5f1a98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -15,7 +15,9 @@ FROM mongo:latest
15
 
16
  RUN mkdir -p /data/db
17
  RUN chown -R mongodb:mongodb /data/db
18
- RUN service mongodb start
 
 
19
 
20
  # Copy the app code to the image
21
  COPY . /app
 
15
 
16
  RUN mkdir -p /data/db
17
  RUN chown -R mongodb:mongodb /data/db
18
+ # RUN service mongodb start
19
+ RUN service mongod start
20
+
21
 
22
  # Copy the app code to the image
23
  COPY . /app