andreped commited on
Commit
1066805
1 Parent(s): 077449c

Used correct requirements in Dockerfile

Browse files
Files changed (3) hide show
  1. .dockerignore +4 -1
  2. Dockerfile +2 -2
  3. pre-requirements.txt +0 -2
.dockerignore CHANGED
@@ -13,4 +13,7 @@ gradio_cached_examples/
13
  flagged/
14
  files/
15
  *.csv
16
- *.obj
 
 
 
 
13
  flagged/
14
  files/
15
  *.csv
16
+ *.obj
17
+ livermask/
18
+ figures/
19
+ venv*
Dockerfile CHANGED
@@ -24,8 +24,8 @@ RUN apt-get update -y
24
  RUN apt install git --fix-missing -y
25
 
26
  # install dependencies
27
- COPY ./requirements.txt /code/requirements.txt
28
- RUN python3.7 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
29
 
30
  # resolve issue with tf==2.4 and gradio dependency collision issue
31
  RUN python3.7 -m pip install --force-reinstall typing_extensions==4.0.0
 
24
  RUN apt install git --fix-missing -y
25
 
26
  # install dependencies
27
+ COPY ./demo/requirements.txt /code/demo/requirements.txt
28
+ RUN python3.7 -m pip install --no-cache-dir --upgrade -r /code/demo/requirements.txt
29
 
30
  # resolve issue with tf==2.4 and gradio dependency collision issue
31
  RUN python3.7 -m pip install --force-reinstall typing_extensions==4.0.0
pre-requirements.txt DELETED
@@ -1,2 +0,0 @@
1
- livermask @ git+https://github.com/andreped/livermask.git
2
- gradio==3.32.0