-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #556 from atheo89/python-path
Fix issue with Run and Debug on code-server workbench
- Loading branch information
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ COPY --chown=1001:0 utils utils/ | |
# Create and intall the extensions though build-time on a temporary directory. Later this directory will copied on the `/opt/app-root/src/.local/share/code-server/extensions` via run-code-server.sh file when it starts up. | ||
RUN mkdir -p /opt/app-root/extensions-temp && \ | ||
code-server --install-extension /opt/app-root/bin/utils/ms-python.python-2024.2.1.vsix --extensions-dir /opt/app-root/extensions-temp && \ | ||
code-server --install-extension /opt/app-root/bin/utils/[email protected] --extensions-dir /opt/app-root/extensions-temp && \ | ||
code-server --install-extension /opt/app-root/bin/utils/ms-toolsai.jupyter-2023.9.100.vsix --extensions-dir /opt/app-root/extensions-temp | ||
|
||
# Install NGINX to proxy code-server and pass probes check | ||
|
@@ -113,6 +114,8 @@ COPY --chown=1001:0 run-code-server.sh run-nginx.sh ./ | |
|
||
ENV SHELL /bin/bash | ||
|
||
ENV PYTHONPATH=/opt/app-root/bin/python3 | ||
|
||
WORKDIR /opt/app-root/src | ||
|
||
USER 1001 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters