forked from yebekhe/argo-pass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (16 loc) · 635 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM nginx:latest
EXPOSE 80
WORKDIR /app
USER root
COPY nginx.conf /etc/nginx/nginx.conf
COPY config.json ./
COPY entrypoint.sh ./
RUN apt-get update && apt-get install -y wget unzip qrencode iproute2 systemctl && \
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
ENTRYPOINT [ "./entrypoint.sh" ]