Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
82f8abe
1
Parent(s):
f343eff
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -2,6 +2,7 @@ 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
|
@@ -12,10 +13,6 @@ RUN mkdir /data && chown user:user /data
|
|
12 |
|
13 |
RUN sed -i 's/listen \(\[::\]:\)\?80 default_server;/listen \17860 default_server;/g' /etc/nginx/nginx.conf
|
14 |
|
15 |
-
RUN mkdir -p /var/lib/nginx/body && \
|
16 |
-
chown -R user:user /var/lib/nginx && \
|
17 |
-
chmod -R 755 /var/lib/nginx
|
18 |
-
|
19 |
#######################################
|
20 |
# End root user section
|
21 |
#######################################
|
|
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
RUN chown -R user:user /app || true
|
5 |
+
RUN chown -R user:user /var || true
|
6 |
|
7 |
#######################################
|
8 |
# Start root user section
|
|
|
13 |
|
14 |
RUN sed -i 's/listen \(\[::\]:\)\?80 default_server;/listen \17860 default_server;/g' /etc/nginx/nginx.conf
|
15 |
|
|
|
|
|
|
|
|
|
16 |
#######################################
|
17 |
# End root user section
|
18 |
#######################################
|