haihuynh commited on
Commit
d8a9227
1 Parent(s): dc56884

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -25,10 +25,11 @@ WORKDIR $HOME/app
25
 
26
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
27
  RUN pip install --no-cache-dir --upgrade pip
 
28
 
29
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
30
  COPY --chown=user . $HOME/app
31
 
32
  RUN python cbir_system.py
33
 
34
- CMD ["python"]
 
25
 
26
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
27
  RUN pip install --no-cache-dir --upgrade pip
28
+ RUN pip install -r requirements.txt
29
 
30
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
31
  COPY --chown=user . $HOME/app
32
 
33
  RUN python cbir_system.py
34
 
35
+ CMD ["python"]