use npm dependencies

This commit is contained in:
ReenigneArcher
2022-11-18 15:44:06 -05:00
parent 4cbf8c01d2
commit 981d878082
37 changed files with 110 additions and 21698 deletions

View File

@@ -28,6 +28,8 @@ RUN apt-get update -y \
libxfixes-dev=1:6.0.0* \
libxrandr-dev=2:1.5.2* \
libxtst-dev=2:1.2.3* \
nodejs=12.22.9* \
npm=8.5.1* \
nvidia-cuda-dev=11.5.1* \
nvidia-cuda-toolkit=11.5.1* \
&& apt-get clean \
@@ -37,6 +39,10 @@ RUN apt-get update -y \
WORKDIR /root/sunshine-build/
COPY . .
# setup npm and dependencies
WORKDIR /root/sunshine-build/src_assets/common/assets/web
RUN npm install
# setup build directory
WORKDIR /root/sunshine-build/build