connected zen

This commit is contained in:
2026-02-03 00:36:22 +01:00
parent 9281c0e02a
commit 05aa70c4af
10 changed files with 582 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
RUN curl -fsSL https://opencode.ai/install | bash
# Copy OpenCode configuration
COPY ../config_opencode /root/.config/opencode
COPY config_opencode /root/.config/opencode
# Copy session manager
COPY . /app
@@ -19,8 +19,8 @@ COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Create working directory
RUN mkdir -p /app/somedir
# Create working directory and auth directory
RUN mkdir -p /app/somedir /root/.local/share/opencode
# Expose port
EXPOSE 8080
@@ -28,5 +28,5 @@ EXPOSE 8080
# Set environment variables
ENV PYTHONPATH=/app
# Start OpenCode server
# Start OpenCode server (OPENCODE_API_KEY passed via environment)
CMD ["/bin/bash", "-c", "source /root/.bashrc && opencode serve --hostname 0.0.0.0 --port 8080 --mdns"]