comfyui-launcher / Dockerfile
multimodalart's picture
Update Dockerfile
88491fe verified
raw
history blame
548 Bytes
# Use the base image with your launcher
FROM thecooltechguy/comfyui_launcher AS launcher
# Install Nginx
USER root
RUN apt-get update && \
apt-get install -y nginx && \
rm -rf /var/lib/apt/lists/*
# Configure Nginx to act as a reverse proxy
RUN rm /etc/nginx/sites-enabled/default
COPY nginx.conf /etc/nginx/sites-enabled/
# Change ownership back to user for the application
RUN chown -R user:user /var/lib/nginx /var/log/nginx
USER user
# Continue with your Dockerfile setup
RUN useradd -m -u 1000 user
RUN chown -R user:user / || true