This commit is contained in:
Richard Sperry 2025-04-17 21:47:40 -07:00
parent 169656e59f
commit 966c19f950

View file

@ -44,7 +44,7 @@ RUN apt-get update \
htop \
nano \
npm \
&& npm install -g @vscode/vsce vsda \
&& npm install -g @vscode/vsce \
&& rm -rf /var/lib/apt/lists/*
# npm and vsce allow code-server to check extensions signatures
@ -77,6 +77,10 @@ RUN if [ "${BUILD_ARCH}" = "aarch64" ]; then HA_CLI_URL="https://github.com/home
&& mv ./ha "/usr/bin/ha" \
&& chmod +x "/usr/bin/ha"
# Resolve code error
WORKDIR /usr/lib/code-server/
RUN npm add vsda
#Copy root file system
COPY rootfs/ /
RUN chown -R root:root /root \