fix: pre-create /home/project with correct ownership
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

This commit is contained in:
2026-03-08 20:36:08 +00:00
parent 4688a0cdab
commit 23c4956d38

View File

@@ -11,6 +11,9 @@ RUN chmod 755 /sync-server.js
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