Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
@@ -1,14 +1,11 @@
|
|
1 |
-
FROM
|
2 |
-
|
3 |
-
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
-
TZ=Europe/ParisRUN
|
5 |
WORKDIR /app
|
6 |
RUN chmod 777 -R /app
|
7 |
RUN apt update -y && apt upgrade -y
|
8 |
RUN apt-get install -y nodejs npm
|
9 |
RUN apt install python3 -y && apt install python3-pip -y
|
10 |
-
RUN
|
11 |
-
#RUN pip3 install flask --break-system-packages
|
12 |
RUN git clone https://github.com/JohanChungus/Status
|
13 |
RUN cd Status && pip install -r requirements.txt && npm install koa-monitor --save && npm install
|
14 |
COPY . .
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
RUN chmod 777 -R /root
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
RUN chmod 777 -R /app
|
5 |
RUN apt update -y && apt upgrade -y
|
6 |
RUN apt-get install -y nodejs npm
|
7 |
RUN apt install python3 -y && apt install python3-pip -y
|
8 |
+
RUN pip3 install flask --break-system-packages
|
|
|
9 |
RUN git clone https://github.com/JohanChungus/Status
|
10 |
RUN cd Status && pip install -r requirements.txt && npm install koa-monitor --save && npm install
|
11 |
COPY . .
|