generated from Misaka-blog/argo-xray-paas-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (27 loc) · 1.14 KB
/
Dockerfile
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
26
27
28
29
30
31
FROM nginx:latest
EXPOSE 80
WORKDIR /app
USER root
COPY webpage.html ./template_webpage.html
COPY nginx.conf ./template_nginx.conf
COPY config.json ./template_config.json
COPY client_config.json ./template_client_config.json
COPY entrypoint.sh ./
COPY mikutap.zip ./
COPY warp-yxip ./
RUN apt-get update && apt-get install -y wget unzip qrencode iproute2 systemctl openssh-server && \
wget -O cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && \
dpkg -i cloudflared.deb && \
rm -f cloudflared.deb && \
wget -O temp.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip && \
unzip temp.zip xray && \
rm -f temp.zip && \
chmod -v 755 xray entrypoint.sh
# Uncomment to install official warp client
# RUN wget -O warp.deb https://pkg.cloudflareclient.com/uploads/cloudflare_warp_2023_3_398_1_amd64_002e48d521.deb && \
# dpkg -i warp.deb || true && \
# rm -f warp.deb && \
# apt -y --fix-broken install && \
# mkdir -p /root/.local/share/warp && \
# echo "yes" > /root/.local/share/warp/accepted-tos.txt
ENTRYPOINT [ "./entrypoint.sh" ]