Initial commit

This commit is contained in:
llbzow
2023-04-07 13:34:55 +00:00
committed by GitHub
commit 8399f63435
7 changed files with 972 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
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 iproute2 systemctl && \
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" ]