Commit 44ead39 1 parent a93858d commit 44ead39 Copy full SHA for 44ead39
File tree 3 files changed +11
-14
lines changed
3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN mkdir -p /etc/supervisor/conf.d
33
33
COPY .devcontainer/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
34
34
35
35
WORKDIR /workspace/comfystream
36
- COPY docker/entrypoint.sh /workspace/comfystream/docker/entrypoint.sh
37
- RUN chmod +x /workspace/comfystream/docker/entrypoint.sh
38
- ENTRYPOINT ["/workspace/comfystream/docker/entrypoint.sh" ]
36
+ COPY .devcontainer/entrypoint.sh /workspace/comfystream/.devcontainer/entrypoint.sh
37
+ RUN chmod +x /workspace/comfystream/.devcontainer/entrypoint.sh
38
+
39
+ ENTRYPOINT ["/workspace/comfystream/.devcontainer/entrypoint.sh" ]
40
+ CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change @@ -44,13 +44,6 @@ if [ "$1" = "--build-engines" ]; then
44
44
shift
45
45
fi
46
46
47
- if [ " $1 " = " --editable" ]; then
48
- cd /workspace/comfystream
49
- conda activate comfystream
50
- pip install -e .
51
- shift
52
- fi
53
-
54
47
# Install npm packages if needed
55
48
cd /workspace/comfystream/ui
56
49
if [ ! -d " node_modules" ]; then
@@ -63,4 +56,5 @@ if [ "$1" = "--server" ]; then
63
56
fi
64
57
65
58
cd /workspace/comfystream
66
- /bin/bash
59
+
60
+ exec " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- chmod +x /workspace/comfystream/docker /entrypoint.sh
3
+ chmod +x /workspace/comfystream/.devcontainer /entrypoint.sh
4
4
cd /workspace/comfystream
5
5
6
6
# Install Comfystream in editable mode.
7
- /workspace/comfystream/docker/entrypoint.sh --editable
7
+ echo -e " \e[32mInstalling Comfystream in editable mode...\e[0m"
8
+ /workspace/miniconda3/envs/comfystream/bin/python3 -m pip install -e . > /dev/null
8
9
9
10
# Create a symlink to the entrypoint script.
10
- echo ' alias prepare_examples="/workspace/comfystream/docker /entrypoint.sh --download-models --build-engines"' >> ~ /.bashrc
11
+ echo ' alias prepare_examples="/workspace/comfystream/.devcontainer /entrypoint.sh --download-models --build-engines"' >> ~ /.bashrc
11
12
echo -e " \e[32mContainer ready! Run 'prepare_examples' to download models and build engines for example workflows.\e[0m"
12
13
13
14
/bin/bash
You can’t perform that action at this time.
0 commit comments