multimodalart HF staff commited on
Commit
f1fafb5
1 Parent(s): c718c23

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM thecooltechguy/comfyui_launcher
2
 
3
  RUN useradd -m -u 1000 user
4
- RUN chown -R user:user / || true
5
 
6
  #######################################
7
  # Start root user section
@@ -14,4 +14,10 @@ RUN mkdir /data && chown user:user /data
14
  # End root user section
15
  #######################################
16
 
17
- USER user
 
 
 
 
 
 
 
1
  FROM thecooltechguy/comfyui_launcher
2
 
3
  RUN useradd -m -u 1000 user
4
+ RUN chown -R user:user /app || true
5
 
6
  #######################################
7
  # Start root user section
 
14
  # End root user section
15
  #######################################
16
 
17
+ USER user
18
+
19
+ # Modify nginx.conf as user
20
+ RUN sed -i 's/listen \(\[::\]:\)\?80 default_server;/listen \17860 default_server;/g' /app/nginx.conf
21
+
22
+ # Print the contents of nginx.conf for checking
23
+ RUN cat /app/nginx.conf