jeffaudi commited on
Commit
f4b850c
1 Parent(s): 26081ba

Adding requirements.txt in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -42,6 +42,10 @@ RUN useradd -m -u 1000 user
42
  # Switch to the "user" user
43
  USER user
44
 
 
 
 
 
45
  # Set home to the user's home directory
46
  ENV HOME=/home/user \
47
  PATH=/home/user/.local/bin:$PATH \
 
42
  # Switch to the "user" user
43
  USER user
44
 
45
+ # Specific requirements for current project
46
+ COPY --chown=jovyan:jovyan requirements.txt .
47
+ RUN python -m pip install --user -r requirements.txt
48
+
49
  # Set home to the user's home directory
50
  ENV HOME=/home/user \
51
  PATH=/home/user/.local/bin:$PATH \