-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I am trying to install StreamGrid as a Docker Container on Unraid using a custom Docker file. Here is my Dockerfile I placed in the cloned path /mnt/user/appdata/StreamGrid
`
FROM node:18
Install dependencies
RUN apt-get update && apt-get install -y
git
ffmpeg
xvfb
libgtk-3-0
libnotify4
libnss3
libxss1
libasound2
libxtst6
xauth
libgbm1
&& rm -rf /var/lib/apt/lists/*
Set working directory
WORKDIR /app
Clone StreamGrid
RUN git clone https://github.com/LordKnish/StreamGrid.git .
Install dependencies
RUN npm install
Build the application
RUN npm run build
Expose port for API
EXPOSE 3000
Set display for headless operation
ENV DISPLAY=:99
Start Xvfb and the application
CMD Xvfb :99 -screen 0 1024x768x24 & npm run dev
After building the docker image using command `docker build -t streamgrid:latest .
====
I am getting this error:
=> ERROR [build 4/5] RUN npm install 190.9s
[build 4/5] RUN npm install:
20.61 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
21.42 npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
21.90 npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
22.12 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
24.01 npm warn deprecated boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
24.64 npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
24.74 npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
30.66 npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
31.58 npm warn deprecated fluent-ffmpeg@2.1.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
186.7 npm error code 1
186.7 npm error path /app/node_modules/electron
186.7 npm error command failed
186.7 npm error command sh -c node install.js
186.7 npm error RequestError: connect ETIMEDOUT 47.96.233.62:443
186.7 npm error at ClientRequest. (/app/node_modules/got/dist/source/core/index.js:970:111)
186.7 npm error at Object.onceWrapper (node:events:632:26)
186.7 npm error at ClientRequest.emit (node:events:529:35)
186.7 npm error at origin.emit (/app/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
186.7 npm error at TLSSocket.socketErrorListener (node:_http_client:501:9)
186.7 npm error at TLSSocket.emit (node:events:517:28)
186.7 npm error at emitErrorNT (node:internal/streams/destroy:151:8)
186.7 npm error at emitErrorCloseNT (node:internal/streams/destroy:116:3)
186.7 npm error at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
186.7 npm error at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
186.7 npm notice
186.7 npm notice New major version of npm available! 10.8.2 -> 11.6.2
186.7 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
186.7 npm notice To update run: npm install -g npm@11.6.2
186.7 npm notice
186.7 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-10-27T12_17_00_771Z-debug-0.log
1 warning found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:5
3 | WORKDIR /app
4 | COPY . .
5 | >>> RUN npm install
6 | RUN npm run build
7 |
ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1