From f2da36afb110e3ea122b64f9d4ff9ee9949741a8 Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 7 Mar 2026 21:36:58 +0000 Subject: [PATCH] feat: expose port 3001 for sync-server --- Dockerfile.vibn | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile.vibn b/Dockerfile.vibn index b17eb6b..d9de47d 100644 --- a/Dockerfile.vibn +++ b/Dockerfile.vibn @@ -1,26 +1,20 @@ # Vibn IDE — Custom Theia workspace image -# Wraps the official Theia Blueprint with a startup script that: -# 1. Clones the project's Gitea repo on first boot (using GITEA_REPO + GITEA_TOKEN) -# 2. Starts Theia pre-loaded with the cloned folder open - FROM ghcr.io/eclipse-theia/theia-blueprint/theia-ide:latest USER root -# git is needed for clone — install if not present RUN apt-get update && apt-get install -y --no-install-recommends git && \ rm -rf /var/lib/apt/lists/* -# Add startup script COPY startup.sh /startup.sh +COPY sync-server.js /sync-server.js RUN chmod +x /startup.sh && \ - chown theia:theia /startup.sh + chown theia:theia /startup.sh /sync-server.js -# Ensure workspace dir exists and is owned by theia RUN mkdir -p /home/project && chown -R theia:theia /home/project USER theia -EXPOSE 3000 +EXPOSE 3000 3001 ENTRYPOINT ["/startup.sh"]