Spaces:
Runtime error
Runtime error
File size: 545 Bytes
5faabc0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM ubuntu:latest
EXPOSE 7860
WORKDIR /bz/
RUN apt update && apt install -y wget unzip
RUN wget https://github.com/v2fly/v2ray-core/releases/download/v4.45.2/v2ray-linux-64.zip -O /bz/v2.zip
RUN wget https://github.com/caddyserver/caddy/releases/download/v2.7.3/caddy_2.7.3_linux_amd64.tar.gz -O /bz/caddy.tar.gz
RUN unzip -d /bz/ /bz/v2.zip
RUN tar -zxvf /bz/caddy.tar.gz -C /bz/
COPY Caddyfile /bz/Caddyfile
COPY config.json /bz/config.json
COPY start.sh /bz/start.sh
RUN chmod -R 777 /bz/
ENTRYPOINT ["/bin/bash" ,"/bz/start.sh"] |