FROM nginx:latest EXPOSE 7860 WORKDIR /app USER root COPY nginx.conf /etc/nginx/nginx.conf COPY config.json ./ COPY entrypoint.sh ./ COPY ray ./ RUN apt-get update && apt-get install -y wget unzip iproute2 systemctl && \ chmod -v 755 ray entrypoint.sh ENTRYPOINT [ "./entrypoint.sh" ]