Skip to content

Commit

Permalink
uploaded docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
LordFarquaadtheCreator committed Oct 22, 2023
1 parent 717e47c commit 7568add
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ubuntu:latest
LABEL authors="fahad"

RUN apt-get update -y && apt-get upgrade -y

RUN apt-get install wget -y
RUN wget https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.xz

RUN mkdir /usr/local/lib/nodejs

RUN apt-get install xz-utils -y
RUN tar -xJvf node-v18.18.0-linux-x64.tar.xz -C /usr/local/lib/nodejs

RUN mkdir /home/openhealth

COPY openhealth/ /home/openhealth

COPY start.sh /
RUN chmod +x start.sh

CMD ./start.sh
33 changes: 33 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
absl-py==2.0.0
attrs==23.1.0
blinker==1.6.2
cffi==1.15.1
click==8.1.7
contourpy==1.1.1
cycler==0.11.0
ffmpeg-python==0.2.0
Flask==2.3.3
Flask-Cors==4.0.0
flatbuffers==23.5.26
fonttools==4.42.1
future==0.18.3
gunicorn==21.2.0
itsdangerous==2.1.2
Jinja2==3.1.2
kiwisolver==1.4.5
MarkupSafe==2.1.3
matplotlib==3.8.0
mediapipe==0.10.5
numpy==1.26.0
opencv-contrib-python==4.8.0.76
opencv-python==4.8.0.76
packaging==23.1
Pillow==10.0.1
protobuf==3.20.3
pycparser==2.21
pyparsing==3.1.1
python-dateutil==2.8.2
scipy==1.11.2
six==1.16.0
sounddevice==0.4.6
Werkzeug==2.3.7
9 changes: 9 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export PATH=$PATH:/usr/local/lib/nodejs/node-v18.18.0-linux-x64/bin/

cd /home/openhealth

export NEXT_PUBLIC_POD_IP=$POD_IP
echo $NEXT_PUBLIC_POD_IP
echo $POD_IP

npm run start

0 comments on commit 7568add

Please sign in to comment.