Browse Source

Update 'README.md'

天问 8 months ago
parent
commit
91858909ea
1 changed files with 17 additions and 1 deletions
  1. 17 1
      README.md

+ 17 - 1
README.md

@@ -1,3 +1,19 @@
 # Stirling-PDF
 
-spring pdf转换工具
+spring pdf转换工具
+
+```
+docker run -d \
+  -p 8080:8080 \
+  -v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata \
+  -v /location/of/extraConfigs:/configs \
+  -v /location/of/logs:/logs \
+  -e DOCKER_ENABLE_SECURITY=false \
+  --name stirling-pdf \
+  frooodle/s-pdf:latest
+  
+  
+  Can also add these for customisation but are not required
+  
+  -v /location/of/customFiles:/customFiles \
+```