Initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user