Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Feb 8, 2023
1 parent ead0cc8 commit 0ff1495
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

RUN apt-get update && apt-get install -y dialog apt-utils curl sudo systemd python2 xxd lsof

Expand Down
2 changes: 1 addition & 1 deletion acme.sh/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "">$DST
echo -e "Permanent Admin link: \n http://$SERVER_IP/$BASE_PROXY_PATH/$ADMIN_SECRET/admin/ \n" >>$DST
echo -e "Secure Admin links: \n" >>$DST

ssl_cert_path=../ssl/
ssl_cert_path=../ssl

for DOMAIN in $DOMAINS; do
echo -e " https://$DOMAIN/$BASE_PROXY_PATH/$ADMIN_SECRET/admin/\n" >>$DST
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ services:
# cap_add:
# - NET_ADMIN
volumes:
- ./config.env:/opt/hiddify-config/config.env
- ./hiddify-panel/hiddifypanel.db:/opt/hiddify-config/hiddify-panel/hiddifypanel.db
- ./ssl/:/opt/hiddify-config/ssl/
- /etc/letsencrypt/:/etc/letsencrypt/
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@ function main(){
}
mkdir -p log/system/
main |& tee log/system/0-install.log
main $@|& tee log/system/0-install.log

0 comments on commit 0ff1495

Please sign in to comment.