danyoung commited on
Commit
2d17078
·
1 Parent(s): 2f29fdd

Add packages to PATH

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -13,18 +13,19 @@ USER user
13
  # Define environment variables
14
  ENV APPS_HOME=/home/user/local/cognizant \
15
  ELUC_APP_HOME=/home/user/local/cognizant/eluc \
16
- PYTHONPATH=/home/user/local/cognizant/eluc
 
17
 
18
  # Set work directory
19
  WORKDIR ${ELUC_APP_HOME}
20
 
21
  # Dependencies
22
- COPY requirements.txt .
23
  RUN pip install --no-cache-dir --upgrade pip && \
24
  pip install --no-cache-dir -r requirements.txt
25
 
26
  # Copy source files over
27
- COPY --chown=user . ${ELUC_APP_HOME}
28
 
29
  # Expose Flask (Dash) port
30
  EXPOSE 7860
 
13
  # Define environment variables
14
  ENV APPS_HOME=/home/user/local/cognizant \
15
  ELUC_APP_HOME=/home/user/local/cognizant/eluc \
16
+ PYTHONPATH=/home/user/local/cognizant/eluc \
17
+ PATH=/home/user/.local/bin:$PATH
18
 
19
  # Set work directory
20
  WORKDIR ${ELUC_APP_HOME}
21
 
22
  # Dependencies
23
+ COPY --chown=user requirements.txt .
24
  RUN pip install --no-cache-dir --upgrade pip && \
25
  pip install --no-cache-dir -r requirements.txt
26
 
27
  # Copy source files over
28
+ COPY --chown=user . .
29
 
30
  # Expose Flask (Dash) port
31
  EXPOSE 7860