oceansweep commited on
Commit
7328ab1
1 Parent(s): 0e43f80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -37,6 +37,11 @@ COPY --chown=user . $HOME/app
37
 
38
  COPY ./requirements.txt /home/user/app/requirements.txt
39
 
 
 
 
 
 
40
  # Switch to the "user" user
41
  USER user
42
 
@@ -44,11 +49,6 @@ USER user
44
  ENV HOME=/home/user \
45
  PATH=/home/user/.local/bin:$PATH
46
 
47
- # Create necessary directories and set permissions
48
- RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
49
-
50
- RUN chmod -R 777 /home/user/app/*
51
-
52
  RUN pip3 install --no-cache-dir --upgrade -r /home/user/app/requirements.txt
53
 
54
  RUN whoami && \
 
37
 
38
  COPY ./requirements.txt /home/user/app/requirements.txt
39
 
40
+ RUN chmod -R 777 /home/user/app/*
41
+
42
+ # Create necessary directories and set permissions
43
+ RUN mkdir -p /home/user/app/Results/Audio_Processing /app/Results/Video_Downloads
44
+
45
  # Switch to the "user" user
46
  USER user
47
 
 
49
  ENV HOME=/home/user \
50
  PATH=/home/user/.local/bin:$PATH
51
 
 
 
 
 
 
52
  RUN pip3 install --no-cache-dir --upgrade -r /home/user/app/requirements.txt
53
 
54
  RUN whoami && \