nikhilkomakula commited on
Commit
8b045ff
·
1 Parent(s): e27851d

Minor changes to Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -5,11 +5,12 @@ USER user
5
 
6
  WORKDIR /app
7
 
8
- # Copy the application files into the container
9
- COPY app.py requirements.txt /app/
10
-
11
  RUN chown -R user:user /app
12
 
 
 
 
 
13
  # Install dependencies
14
  RUN pip install --no-cache-dir --upgrade pip && \
15
  pip install --no-cache-dir -r requirements.txt
 
5
 
6
  WORKDIR /app
7
 
 
 
 
8
  RUN chown -R user:user /app
9
 
10
+ # Copy the application files into the container
11
+ COPY --chown=user:user requirements.txt /app/
12
+ COPY --chown=user:user app.py /app/
13
+
14
  # Install dependencies
15
  RUN pip install --no-cache-dir --upgrade pip && \
16
  pip install --no-cache-dir -r requirements.txt