Skip to content

Commit

Permalink
Merge pull request hiddify#32 from real-alchemist/main
Browse files Browse the repository at this point in the history
Fix docker
  • Loading branch information
hiddify-com authored Mar 30, 2024
2 parents 9949877 + e78181e commit b265886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ RUN chmod +x hiddify.sh
COPY hiddify.json ./data/

EXPOSE 2334
EXPOSE 2335
EXPOSE 6756
EXPOSE 6450


ENTRYPOINT [ "/opt/hiddify.sh" ]
ENTRYPOINT [ "/hiddify/hiddify.sh" ]
2 changes: 1 addition & 1 deletion docker/hiddify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# iptables -t mangle -A PREROUTING -j hiddify


if [ -f "/opt/hiddify.json" ]; then
if [ -f "/hiddify/data/hiddify.json" ]; then
/hiddify/HiddifyCli run --config "$CONFIG" -h /hiddify/data/hiddify.json
else
/hiddify/HiddifyCli run --config "$CONFIG"
Expand Down

0 comments on commit b265886

Please sign in to comment.