Add support for volumes in docker-compose
This commit is contained in:
+4
-3
@@ -43,10 +43,11 @@ WORKDIR /app
|
|||||||
# Pull source and extract
|
# Pull source and extract
|
||||||
RUN wget https://github.com/comfyanonymous/ComfyUI/archive/refs/tags/v${ComfyUI_Release}.tar.gz && \
|
RUN wget https://github.com/comfyanonymous/ComfyUI/archive/refs/tags/v${ComfyUI_Release}.tar.gz && \
|
||||||
tar xzf v${ComfyUI_Release}.tar.gz && \
|
tar xzf v${ComfyUI_Release}.tar.gz && \
|
||||||
rm v${ComfyUI_Release}.tar.gz
|
rm v${ComfyUI_Release}.tar.gz && \
|
||||||
|
mv /app/ComfyUI-${ComfyUI_Release} /app/comfyui/
|
||||||
|
|
||||||
# Set workdir for application
|
# Set workdir for application
|
||||||
WORKDIR /app/ComfyUI-${ComfyUI_Release}
|
WORKDIR /app/comfyui
|
||||||
|
|
||||||
# Upgrade pip and install dependencies
|
# Upgrade pip and install dependencies
|
||||||
RUN python -m pip install --upgrade pip && \
|
RUN python -m pip install --upgrade pip && \
|
||||||
@@ -57,4 +58,4 @@ RUN python -m pip install --upgrade pip && \
|
|||||||
EXPOSE 8188
|
EXPOSE 8188
|
||||||
|
|
||||||
# Start CompyUI
|
# Start CompyUI
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
Reference in New Issue
Block a user