Skip to content

Commit

Permalink
fix: include cli-data-dir for improved caching of server setup
Browse files Browse the repository at this point in the history
also user-data-dir is not a workspace directory
  • Loading branch information
ahmadnassri committed Nov 18, 2024
1 parent 0ab0e2d commit 2027ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ EOF
ENTRYPOINT [ "code", "serve-web", "--without-connection-token", "--accept-server-license-terms" ]

# default arguments
CMD [ "--host", "0.0.0.0", "--port", "8000", "--user-data-dir", "/root/workspace", "--server-data-dir", "/root/server", "--extensions-dir", "/root/extensions" ]
CMD [ "--host", "0.0.0.0", "--port", "8000", "--cli-data-dir", "/root/.vscode/cli-data", "--user-data-dir", "/root/.vscode/user-data", "--server-data-dir", "/root/.vscode/server-data", "--extensions-dir", "/root/.vscode/extensions" ]

HEALTHCHECK NONE

Expand Down

0 comments on commit 2027ef8

Please sign in to comment.