grosenthal commited on
Commit
b54a03e
1 Parent(s): fa567c6
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -10,16 +10,16 @@ COPY lib/libc.so /usr/lib
10
 
11
  RUN ldconfig
12
 
13
- USER user
14
 
15
- ENV HOME=/home/user \
16
- PATH=/home/user/.local/bin:$PATH
17
 
18
- COPY --chown=user ./requirements.txt /code/requirements.txt
19
 
20
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
21
 
22
- COPY --chown=user . .
23
 
24
  COPY ./src ./src
25
  RUN cd src/aineid && npm install
 
10
 
11
  RUN ldconfig
12
 
13
+ USER pn
14
 
15
+ ENV HOME=/home/pn \
16
+ PATH=/home/pn/.local/bin:$PATH
17
 
18
+ COPY --chown=pn ./requirements.txt /code/requirements.txt
19
 
20
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
21
 
22
+ COPY --chown=pn . .
23
 
24
  COPY ./src ./src
25
  RUN cd src/aineid && npm install