comfyui-launcher / Dockerfile
multimodalart's picture
Update Dockerfile
f1fafb5 verified
raw
history blame
580 Bytes
FROM thecooltechguy/comfyui_launcher
RUN useradd -m -u 1000 user
RUN chown -R user:user /app || true
#######################################
# Start root user section
#######################################
USER root
RUN mkdir /data && chown user:user /data
#######################################
# End root user section
#######################################
USER user
# Modify nginx.conf as user
RUN sed -i 's/listen \(\[::\]:\)\?80 default_server;/listen \17860 default_server;/g' /app/nginx.conf
# Print the contents of nginx.conf for checking
RUN cat /app/nginx.conf