mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Initial docs
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# cd to app root
|
||||
CWD=$(dirname $0)
|
||||
if [[ `basename $(pwd)` = 'scripts' ]]; then
|
||||
cd ../
|
||||
else
|
||||
cd `dirname $CWD`
|
||||
fi
|
||||
|
||||
PORT=9000
|
||||
if [ ! -z "$1" ]; then
|
||||
PORT=$1
|
||||
fi
|
||||
|
||||
docker run --rm -it -v $(pwd):/site rancherlabs/website:dev minify-images
|
||||
Reference in New Issue
Block a user