فهرست منبع

Update README.MD with docker instruction

Former-commit-id: bdbf581da95313a5c4612b08b0d8e8a3da5b2139
Morvan Mikael 6 سال پیش
والد
کامیت
374f3b94cb
1فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 14 0
      cli/README.MD

+ 14 - 0
cli/README.MD

@@ -60,6 +60,20 @@ SingleFile can be launched from the command line by running it into a (headless)
 
   `single-file https://www.wikipedia.org wikipedia.html --back-end=webdriver-gecko`
   
+## Docker
+
+- Build
+
+  `docker build -t singlefile .`
+  
+- Run
+
+  `docker run singlefile "https://google.com"`
+  
+- Run and pipe the result into a file
+
+  `docker run singlefile "https://google.com" > google.html`
+
 ## License
 
 SingleFile is licensed under AGPL. Code derived from third-party projects is licensed under MIT. Please contact me at gildas.lormeau <at> gmail.com if you are interested in licensing the SingleFile code for a commercial service or product.