NikaMimi commited on
Commit
ed6f781
·
verified ·
1 Parent(s): ddc5f1c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -2
Dockerfile CHANGED
@@ -1,2 +1,12 @@
1
- # Use the pre-built NyaProxy image
2
- FROM k3scat/nya-proxy:latest
 
 
 
 
 
 
 
 
 
 
 
1
+ # Start from the official NyaProxy image
2
+ FROM k3scat/nya-proxy:latest
3
+
4
+ # Switch to the root user temporarily to fix permissions
5
+ USER root
6
+
7
+ # Change the ownership of the /app directory to the 'user' that
8
+ # Hugging Face uses to run the container. The -R makes it recursive.
9
+ RUN chown -R user:user /app
10
+
11
+ # Switch back to the standard 'user' for running the application
12
+ USER user