Add which opencode to start.sh for debugging
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -47,6 +47,7 @@ RUN printf '#!/bin/sh\n\
|
|
| 47 |
echo "Starting OpenCode AI Web Server..."\n\
|
| 48 |
echo "Server will be available at http://0.0.0.0:7860 "\n\
|
| 49 |
echo "OpenAPI documentation available at http://0.0.0.0:7860/doc "\n\
|
|
|
|
| 50 |
exec /usr/local/bin/opencode serve --hostname 0.0.0.0 --port 7860\n\
|
| 51 |
' > /home/opencode/.local/bin/start.sh && \
|
| 52 |
chmod +x /home/opencode/.local/bin/start.sh
|
|
|
|
| 47 |
echo "Starting OpenCode AI Web Server..."\n\
|
| 48 |
echo "Server will be available at http://0.0.0.0:7860 "\n\
|
| 49 |
echo "OpenAPI documentation available at http://0.0.0.0:7860/doc "\n\
|
| 50 |
+
which opencode\n\
|
| 51 |
exec /usr/local/bin/opencode serve --hostname 0.0.0.0 --port 7860\n\
|
| 52 |
' > /home/opencode/.local/bin/start.sh && \
|
| 53 |
chmod +x /home/opencode/.local/bin/start.sh
|