Skip to content

Commit e1f05ce

Browse files
committed
Added Dockerfile, requirements.txt
1 parent 36affe4 commit e1f05ce

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM tensorflow/tensorflow:2.4.1-gpu
2+
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
5+
RUN apt-get update
6+
RUN apt-get install -y parallel
7+
8+
RUN mkdir /app
9+
WORKDIR /app
10+
COPY ./requirements.txt /app
11+
12+
RUN pip install -r requirements.txt
13+
COPY . /app
14+
15+
CMD sh launch.sh

launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
parallel ::: "streamlit run main.py" "tensorboard --logdir logs/tensorboard --host 0.0.0.0 --port 6006"
1+
parallel -u ::: "streamlit run main.py" "tensorboard --logdir logs/tensorboard --host 0.0.0.0 --port 6006"

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
streamlit==0.79.0
2+
plotly==4.14.3
3+
numpy==1.19.5
4+
matplotlib==3.3.4
5+
pandas==1.1.5

0 commit comments

Comments
 (0)