ejschwartz commited on
Commit
c51e84d
·
1 Parent(s): 38ea86b

Copy requirements file later

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,8 +11,6 @@ RUN git clone https://github.com/lt-asset/resym /home/ReSym
11
 
12
  WORKDIR /code
13
 
14
- COPY ./requirements.txt /code/requirements.txt
15
-
16
  # Set up a new user named "user" with user ID 1000
17
  RUN useradd -m -u 1000 user
18
 
@@ -35,6 +33,8 @@ WORKDIR $HOME/app
35
  # Needed to include .bashrc for conda activation
36
  SHELL ["/bin/bash", "-i", "-c"]
37
 
 
 
38
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
39
 
40
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
 
11
 
12
  WORKDIR /code
13
 
 
 
14
  # Set up a new user named "user" with user ID 1000
15
  RUN useradd -m -u 1000 user
16
 
 
33
  # Needed to include .bashrc for conda activation
34
  SHELL ["/bin/bash", "-i", "-c"]
35
 
36
+ COPY ./requirements.txt /code/requirements.txt
37
+
38
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
39
 
40
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user