File size: 539 Bytes
da5296b 4a44c4e 304db3e c13b1e1 9cddec7 3982fa3 655aa3a 3982fa3 bfb6da1 7db1d73 67b914f f35d9ea c13b1e1 fd0457b f35d9ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
FROM nvidia/cuda:11.3.1-base-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive \
TZ=Europe/ParisRUN
WORKDIR /app
RUN chmod 777 -R /app
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 apt install git -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"] |