|
|
@@ -24,6 +24,13 @@ SingleFile can be launched from the command line by running it into a (headless)
|
|
|
|
|
|
`docker run singlefile "https://www.wikipedia.org" > wikipedia.html`
|
|
|
|
|
|
+- Run and mount a volume to get the saved file in the current directory
|
|
|
+
|
|
|
+ `docker run -v %cd%:/usr/src/app/SingleFile/cli/out singlefilez "https://www.wikipedia.org"` (Windows)
|
|
|
+
|
|
|
+ `docker run -v $(pwd):/usr/src/app/SingleFile/cli/out singlefilez "https://www.wikipedia.org"` (Linux/UNIX)
|
|
|
+
|
|
|
+
|
|
|
- An alternative docker file can be found here https://github.com/screenbreak/SingleFile-dockerized. It allows you to save pages from the command line interface or through an HTTP server.
|
|
|
|
|
|
## Manual installation
|