File size: 497 Bytes
3308e75
 
 
 
 
d511ad9
3308e75
 
 
 
 
 
 
fd0457b
3308e75
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.9
RUN chmod 777 -R /root
WORKDIR /
#RUN chmod 777 -R /
#pwease
ENV STATUS_CUSTOM_ROOT_PATH=/host_root
RUN apt update -y && apt upgrade -y
RUN apt-get install -y nodejs npm
RUN apt install python3 -y && apt install python3-pip -y
RUN pip3 install flask --break-system-packages
RUN git clone https://github.com/JohanChungus/Status
RUN cd Status && pip install -r requirements.txt && npm install koa-monitor --save && npm install
COPY . .
EXPOSE 7860
CMD ["python3", "Status/status.py"]