work with session manager etc

This commit is contained in:
2026-01-18 22:10:03 +01:00
parent 165d87899d
commit 0243cfc250
5 changed files with 71 additions and 108 deletions

View File

@@ -28,5 +28,5 @@ EXPOSE 8080
# Set environment variables
ENV PYTHONPATH=/app
# Start OpenCode web interface
CMD ["opencode", "web", "--host", "0.0.0.0", "--port", "8080", "--workdir", "/app/somedir"]
# Start OpenCode server
CMD ["/bin/bash", "-c", "source /root/.bashrc && opencode serve --hostname 0.0.0.0 --port 8080 --mdns"]