Skip to content

Commit 6343c3d

Browse files
authored
copy ui files into docker build (#183)
1 parent 1259f25 commit 6343c3d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
.git/
55
.venv/
66
.github/
7-
ui/
87
.dockerignore

docker/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,16 @@ ENV NODE_PATH="$NVM_DIR/v$NODE_VERSION/lib/node_modules" \
2525

2626
# Create the supervisor configuration file for ComfyUI and ComfyStream
2727
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
28+
COPY --chmod=0755 docker/entrypoint.sh /workspace/comfystream/docker/entrypoint.sh
29+
30+
WORKDIR /workspace/comfystream/ui
31+
RUN npm install
32+
RUN npm run build
33+
34+
# Restore .gitkeep file after ui build for devcontainer users
35+
RUN touch /workspace/comfystream/nodes/web/static/.gitkeep
2836

2937
WORKDIR /workspace/comfystream
30-
COPY --chmod=0755 docker/entrypoint.sh /workspace/comfystream/docker/entrypoint.sh
3138

3239
EXPOSE 8188 8889 3000
3340
EXPOSE 1024-65535/udp

0 commit comments

Comments
 (0)