Files
xserver/Dockerfile
2023-04-07 13:34:55 +00:00

16 lines
434 B
Docker

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" ]