mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
changed init-cp run
This commit is contained in:
parent
2bcc3d51c4
commit
3cfee211da
7 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ WORKDIR /WORKDIR/
|
|||
|
||||
# Install Python packages
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 && \
|
||||
pip3 install --no-cache-dir -r /usr/lib/code-server/defaults/requirements.txt
|
||||
pip3 install --no-cache-dir -r /var/lib/code-server/defaults/requirements.txt
|
||||
|
||||
# Cleanup apt cache
|
||||
RUN apt-get purge -y --auto-remove \
|
||||
|
|
|
@ -23,7 +23,7 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
|
|||
2212babaa9dc46d38ba239052c9c05151abe517cc8b493d0d351a96bf70c1efa4f7479f6ed0b75811429ba649906eb5657d73b0732b460e718a5c66603dcdbda
|
||||
)
|
||||
|
||||
readonly DEFAULT_FILES_PATH="/usr/lib/code-server/defaults"
|
||||
readonly DEFAULT_FILES_PATH="/var/lib/code-server/defaults"
|
||||
readonly DEFAULT_CONFIG_PATH="/WORKDIR/config/addon_configs/vscode"
|
||||
readonly CODE_SERVER_CONFIG_DIR="/root/.config/code-server/"
|
||||
readonly CODE_SERVER_CONFIG="$CODE_SERVER_CONFIG_DIR/config.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue