multimodalart HF staff commited on
Commit
cb850a3
1 Parent(s): abea85f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # Use the base image with your launcher
2
  FROM thecooltechguy/comfyui_launcher AS launcher
3
 
 
 
 
4
  # Install Nginx
5
  USER root
6
  RUN apt-get update && \
@@ -15,6 +18,5 @@ COPY nginx.conf /etc/nginx/sites-enabled/
15
  RUN chown -R user:user /var/lib/nginx /var/log/nginx
16
  USER user
17
 
18
- # Continue with your Dockerfile setup
19
- RUN useradd -m -u 1000 user
20
  RUN chown -R user:user / || true
 
1
  # Use the base image with your launcher
2
  FROM thecooltechguy/comfyui_launcher AS launcher
3
 
4
+ # Create user:user
5
+ RUN useradd -m -u 1000 user
6
+
7
  # Install Nginx
8
  USER root
9
  RUN apt-get update && \
 
18
  RUN chown -R user:user /var/lib/nginx /var/log/nginx
19
  USER user
20
 
21
+ # Fix all permission issues for unknown images
 
22
  RUN chown -R user:user / || true