mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 07:26:24 -05:00
build: set v2ray binary as an entrypoint
Use command to add args. Also, add a default command to make it backward compatible with v4. Signed-off-by: Seena Fallah <seenafallah@gmail.com>
This commit is contained in:
parent
5a68536530
commit
e738e05da3
@ -16,4 +16,5 @@ ENV v2ray.location.asset=/opt/v2ray/share
|
||||
|
||||
COPY ./ /opt/v2ray/
|
||||
|
||||
CMD ["/opt/v2ray/bin/v2ray"]
|
||||
ENTRYPOINT [ "/opt/v2ray/bin/v2ray" ]
|
||||
CMD [ "run", "-config", "/etc/v2ray/config.json" ]
|
||||
|
Loading…
Reference in New Issue
Block a user