[~] Refactor
This commit is contained in:
parent
cb04f05d48
commit
46e16a5441
@ -483,7 +483,7 @@ try:
|
|||||||
-it --entrypoint=/bin/bash \
|
-it --entrypoint=/bin/bash \
|
||||||
-v $PWD:/app:ro \
|
-v $PWD:/app:ro \
|
||||||
nginx:latest \
|
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)
|
''', shell=True)
|
||||||
elif sys.argv[1] == 'wl-screenshot':
|
elif sys.argv[1] == 'wl-screenshot':
|
||||||
subprocess.check_call(r'''
|
subprocess.check_call(r'''
|
||||||
|
Loading…
Reference in New Issue
Block a user