qgallouedec HF Staff commited on
Commit
c9d2e73
·
1 Parent(s): ea5bc93
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -30,6 +30,10 @@ ENV XDG_CACHE_HOME=/usr/src/app/cache
30
  # Use non-root user
31
  USER appuser
32
 
 
 
 
 
33
  # Expose the Gradio port
34
  EXPOSE 7860
35
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
30
  # Use non-root user
31
  USER appuser
32
 
33
+ RUN useradd -u 1000 trluser
34
+ USER trluser
35
+
36
+
37
  # Expose the Gradio port
38
  EXPOSE 7860
39
  ENV GRADIO_SERVER_NAME="0.0.0.0"