aboutsummaryrefslogtreecommitdiff
path: root/services/docker/v2ray/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/v2ray/Dockerfile')
-rw-r--r--services/docker/v2ray/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/docker/v2ray/Dockerfile b/services/docker/v2ray/Dockerfile
index 250a6b8..9d11474 100644
--- a/services/docker/v2ray/Dockerfile
+++ b/services/docker/v2ray/Dockerfile
@@ -1,5 +1,7 @@
FROM alpine:edge
-RUN apk add --no-cache v2ray
+RUN apk add --no-cache tini v2ray
-ENTRYPOINT [ "/usr/bin/v2ray" ]
+ADD config.json.template v2ray-wrapper.sh /app/
+
+CMD [ "tini", "--", "/app/v2ray-wrapper.sh" ]