mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-17 14:56:12 +00:00
[docker] refine Dockerfile
This commit is contained in:
1 parent
22e867cb85
commit
38dbd38f67
2 files changed
+6
-3
No files matched your search
@@ -1,8 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [ ! -e "server-cfg.json" ]; then
|
||||
./gen-server-cfg.sh
|
||||
if [ "$1" = 'v2ray' ]; then
|
||||
if [ ! -e "server-cfg.json" ]; then
|
||||
./gen-server-cfg.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in new issue
Block a user