MartinT commited on
Commit
754a4a7
1 Parent(s): 8c79d25

fix: Lift user priviledges.

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ COPY . .
9
 
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
 
 
12
 
13
  # Change the port number of our Wave app to 7860
14
  # which is default in Hugging Face Spaces.
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ RUN useradd -m -u 1000 user
13
+ COPY --chown=user . /code
14
 
15
  # Change the port number of our Wave app to 7860
16
  # which is default in Hugging Face Spaces.