We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb51ae commit 7bd3e7fCopy full SHA for 7bd3e7f
Dockerfile
@@ -2,8 +2,9 @@ FROM ubuntu:22.04
2
3
RUN apt-get update && apt-get upgrade -y && apt-get install python3-pip tini -y && apt-get clean
4
5
-COPY . /opt/os-capacity
6
-RUN pip install -U -e /opt/os-capacity
+COPY ./requirements.txt /opt/os-capacity/requirements.txt
+RUN pip install -U -r /opt/os-capacity/requirements.txt
7
8
-ENTRYPOINT ["tini", "-g", "--"]
9
-CMD ["python3", "/opt/os-capacity/os_capacity/prometheus.py"]
+COPY ./os_capacity/prometheus.py /opt/os-capacity/prometheus.py
+ENTRYPOINT ["tini", "--"]
10
+CMD ["python3", "/opt/os-capacity/prometheus.py"]
0 commit comments