feat: layer sync-server + startup override on top of base image
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,4 +1,18 @@
|
|||||||
# Vibn IDE — pull the custom-compiled image built by Cloud Build
|
# Vibn IDE — pull the custom-compiled image and layer in the sync server
|
||||||
# Cloud Build compiles all TypeScript (Gitea/Coolify tools, Code OS agent)
|
|
||||||
# and pushes to Artifact Registry. Coolify just pulls that image.
|
|
||||||
FROM northamerica-northeast1-docker.pkg.dev/master-ai-484822/vibn-ide/theia:latest
|
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
|
||||||
|
|
||||||
|
EXPOSE 3000 3001
|
||||||
|
|
||||||
|
USER theia
|
||||||
|
|
||||||
|
ENTRYPOINT ["/startup.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user