Edward J. Schwartz commited on
Commit
b41a12f
·
1 Parent(s): d1852ac

Try again to fix permissions

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -8,10 +8,14 @@ WORKDIR /code
8
 
9
  COPY ./requirements.txt /code/requirements.txt
10
 
 
 
11
  RUN apt-get -y update
12
 
13
  RUN apt-get -y install python3-pip
14
 
 
 
15
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
16
 
17
  COPY --chown=user . .
 
8
 
9
  COPY ./requirements.txt /code/requirements.txt
10
 
11
+ USER root
12
+
13
  RUN apt-get -y update
14
 
15
  RUN apt-get -y install python3-pip
16
 
17
+ USER user
18
+
19
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
20
 
21
  COPY --chown=user . .