mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Merge pull request #4 from danialsamiei/devin/1771257507-fix-dev-mode
Fix blank page: set VSCODE_DEV=1 for dev workbench template
This commit is contained in:
commit
755beb6e12
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,12 @@ RUN npm run buildreact \
|
|||
&& npm run compile \
|
||||
&& npm run compile-web
|
||||
|
||||
# VSCODE_DEV=1 tells the server to use the dev workbench template which loads CSS
|
||||
# dynamically via import maps. Without this, the server expects a bundled workbench.css
|
||||
# that is only produced by the full packaging pipeline (gulp vscode-web-min), not by
|
||||
# npm run compile.
|
||||
ENV VSCODE_DEV=1
|
||||
|
||||
# Render sets PORT; use code-server (production) not code-web (test harness)
|
||||
EXPOSE 10000
|
||||
CMD ["sh", "-c", "node out/server-main.js --host 0.0.0.0 --port ${PORT:-10000} --without-connection-token --accept-server-license-terms"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue