FROM python:3.10.6 RUN pip install --upgrade pip RUN pip install requests RUN pip install requests RUN apt-get update && \ apt-get install -y xinetd WORKDIR /home/ctf ENV DASHSCOPE_API_KEY sk-8934e3e14ffc4757a40790e0xxxxxxxx COPY ./cute_ai.py /home/ctf/ COPY ./ctf.xinetd /etc/xinetd.d/ctf COPY ./init.sh /init.sh RUN cp /usr/local/bin/python /home/ctf/python RUN echo "Blocked by ctf_xinetd" > /etc/banner_fail RUN chmod +x /init.sh RUN chmod +x /home/ctf/cute_ai.py CMD ["/init.sh"] EXPOSE 70