MartinT commited on
Commit
6ab37aa
1 Parent(s): 754a4a7

fix: Lift user priviledges.

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,14 +3,14 @@
3
 
4
  FROM python:3.9
5
 
6
- WORKDIR /code
7
 
8
- COPY . .
 
 
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.
 
3
 
4
  FROM python:3.9
5
 
 
6
 
7
+ COPY --chown=user . /code
8
+
9
+ WORKDIR /code
10
 
11
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
 
13
  RUN useradd -m -u 1000 user
 
14
 
15
  # Change the port number of our Wave app to 7860
16
  # which is default in Hugging Face Spaces.