egrace479 commited on
Commit
1fffda3
1 Parent(s): e671e9b

Set up prototype telemetry dashboard to pull from dev branch of telemetry-dashboard github repo.

Browse files
Files changed (2) hide show
  1. Dockerfile +12 -0
  2. run.sh +2 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ WORKDIR /api
4
+ RUN git clone --branch dev https://github.com/Imageomics/telemetry-dashboard.git
5
+ WORKDIR /api/telemetry-dashboard
6
+
7
+ RUN pip3 install gunicorn && \
8
+ pip3 install -r requirements.txt
9
+
10
+ COPY run.sh /api/telemetry-dashboard/run.sh
11
+
12
+ CMD /api/telemetry-dashboard/run.sh
run.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/bin/bash
2
+ gunicorn -w ${BACKEND_WORKERS:=4} -b :7860 -t 360 dashboard:server