[~] Refactor
This commit is contained in:
parent
cb04f05d48
commit
46e16a5441
@ -483,7 +483,7 @@ try:
|
||||
-it --entrypoint=/bin/bash \
|
||||
-v $PWD:/app:ro \
|
||||
nginx:latest \
|
||||
-c 'echo "server{listen 80; root /app; location / {autoindex on;}}" > /etc/nginx/conf.d/default.conf; nginx -g "daemon off;"'
|
||||
-c 'echo "server{listen 80; charset UTF-8; root /app; location / {autoindex on;}}" > /etc/nginx/conf.d/default.conf; nginx -g "daemon off;"'
|
||||
''', shell=True)
|
||||
elif sys.argv[1] == 'wl-screenshot':
|
||||
subprocess.check_call(r'''
|
||||
|
Loading…
Reference in New Issue
Block a user