MartinT commited on
Commit
a4b84ff
1 Parent(s): 68a0b0b

fix: Change ownersip os /usr/local.

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -7,15 +7,16 @@ WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
- RUN apt update && apt install -y ffmpeg
11
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
-
13
  RUN useradd -m -u 1000 user
14
 
15
  USER user
16
 
17
- ENV HOME=/home/user \
18
- PATH=/home/user/.local/bin:$PATH
 
 
 
 
19
 
20
  WORKDIR $HOME/app
21
 
 
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
 
 
 
10
  RUN useradd -m -u 1000 user
11
 
12
  USER user
13
 
14
+ RUN chown user -R /usr/local/
15
+ RUN apt update && apt install -y ffmpeg
16
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
17
+
18
+ ENV HOME=/home/user
19
+ ENV PATH=/home/user/.local/bin:$PATH
20
 
21
  WORKDIR $HOME/app
22