comfyui-launcher / Dockerfile
multimodalart's picture
Update Dockerfile
5f8ee9c verified
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 text-lg border border-gray-300 rounded-md max-w-6xl ml-5" style={{ maxWidth: "1200px", marginLeft: "1.125rem", backgroundColor: "#fff4f0", color: "#515151" }}><a href="https://huggingface.co/spaces/subbytech/comfyui-launcher?duplicate=true" target="_blank" className="text-lg"><img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" /></a><span style={{ marginTop: "3px" }}>to use it privately, as the launcher may not behave properly in this shared environment.</span></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