sbox / Dockerfile
Vinbor's picture
Update Dockerfile
82fd2f0 verified
FROM python:3.9-slim
RUN apt update && apt install -y git
RUN git clone https://github.com/hestudy-blog/sing-box-subscribe-docker /app
WORKDIR "app"
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN chmod 755 api/app.py
#RUN sed -i "s/debug=true/debug=True, host='0.0.0.0'/g" api/app.py
EXPOSE 5000
CMD ["python", "api/app.py"]