comfyui-launcher / Dockerfile
multimodalart's picture
Update Dockerfile
ce4716d verified
raw
history blame
912 Bytes
FROM thecooltechguy/comfyui_launcher
RUN useradd -m -u 1000 user
RUN chown -R user:user /app || true
RUN chown -R user:user /var || true
RUN chown -R user:user /run || true
RUN chown -R user:user /etc || true
RUN sed -i '/<Nav \/>/!b;n;a\<div className="flex flex-row space-x-5 p-5">The launcher may not work behave properly in this shared environment. <a href="https://huggingface.co/spaces/subbytech/comfyui-launcher?duplicate=true"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" /></a> to use it privately.</div>' /app/web/src/pages/index.tsx
RUN cd /app/web && npm run build
#######################################
# Start root user section
#######################################
USER root
RUN mkdir /data && chown user:user /data
#######################################
# End root user section
#######################################
USER user