Files
theia-code-os/Dockerfile
mark 23c4956d38
Some checks failed
Publish packages to NPM / Perform Publishing (push) Has been cancelled
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
fix: pre-create /home/project with correct ownership
2026-03-08 20:36:08 +00:00

22 lines
646 B
Docker

# Vibn IDE — pull the custom-compiled image and layer in the sync server
FROM northamerica-northeast1-docker.pkg.dev/master-ai-484822/vibn-ide/theia:latest
USER root
# Add sync-server for agent runner git-pull trigger
COPY sync-server.js /sync-server.js
RUN chmod 755 /sync-server.js
# Override startup script to launch sync server alongside Theia
COPY startup.sh /startup.sh
RUN chmod +x /startup.sh
# Ensure workspace dir exists with correct ownership before switching user
RUN mkdir -p /home/project && (chown -R theia:theia /home/project 2>/dev/null || chmod 777 /home/project)
EXPOSE 3000 3001
USER theia
ENTRYPOINT ["/startup.sh"]