potato-pzy commited on
Commit
8ad04f6
·
1 Parent(s): f295d99

fix: chown /app to user in Dockerfile to allow mkdir models

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -24,6 +24,7 @@ RUN pip install --no-cache-dir -r requirements.txt
24
 
25
  # Copy the rest of the application files
26
  COPY --chown=user:user . .
 
27
 
28
  # Switch to the non-root user
29
  USER user
 
24
 
25
  # Copy the rest of the application files
26
  COPY --chown=user:user . .
27
+ RUN chown -R user:user /app
28
 
29
  # Switch to the non-root user
30
  USER user