grosenthal commited on
Commit
086d8ea
1 Parent(s): aaffe1f
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -6,6 +6,10 @@ FROM python:3.9
6
  WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
 
 
 
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
 
6
  WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
+ RUN useradd -m -u 1000 user
10
+ USER user
11
+ ENV HOME=/home/user \
12
+ PATH=/home/user/.local/bin:$PATH
13
 
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15