Ver código fonte

Update the DockerFile

Maxime Quandalle 10 anos atrás
pai
commit
5f09c0ce40
1 arquivos alterados com 4 adições e 6 exclusões
  1. 4 6
      Dockerfile

+ 4 - 6
Dockerfile

@@ -1,9 +1,7 @@
-FROM meteorhacks/meteord
+FROM meteorhacks/meteord:onbuild
 MAINTAINER Maxime Quandalle <maxime@quandalle.com>
 
 # Run as you wish!
-#
-# sudo docker run -d \
-#   -e "ROOT_URL=http://example.com"
-#   -e "MONGO_URL=mongodb://172.17.0.3:27017/libreboard-test" \
-#   -p 8080:80
+# docker run -d --name libreboard-db mongo
+# docker run -d --link "libreboard-db:db" -e "MONGO_URL=mongodb://db" \
+#   -e "ROOT_URL=http://example.com" -p 8080:80 mquandalle/libreboard