Skip to content

Commit

Permalink
refactor: use v2ray the entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kslr committed Nov 8, 2022
1 parent 1741655 commit 2e80d35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=${TARGETPLATFORM} alpine:latest
LABEL maintainer "V2Fly Community <dev@v2fly.org>"
LABEL maintainer="V2Fly Community <dev@v2fly.org>"

WORKDIR /root
ARG TARGETPLATFORM
Expand All @@ -12,4 +12,4 @@ RUN set -ex \
&& chmod +x /root/v2ray.sh \
&& /root/v2ray.sh "${TARGETPLATFORM}" "${TAG}"

CMD [ "/usr/bin/v2ray", "run", "-c", "/etc/v2ray/config.json" ]
ENTRYPOINT ["/usr/bin/v2ray"]

0 comments on commit 2e80d35

Please sign in to comment.