From 5cde6d86be115a2605c1dd4ed00a9675055aa9f6 Mon Sep 17 00:00:00 2001 From: gripp Date: Wed, 29 Dec 2021 00:51:15 -0500 Subject: [PATCH] Changed Dockerfile to use nodejs-lts instead of nodejs-lts-10 to fix a build issue (#433). --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45eb7138..bb7916a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM bougyman/voidlinux as void -RUN xbps-install -Syu git tar python nodejs-lts-10 base-devel +RUN xbps-install -Syu git tar python nodejs-lts base-devel COPY app* package* .env.settings.sample .env.private.sample copySettingsAndPrivateFiles.js Procfile routes.js /app/ COPY bin /app/bin/ COPY caching /app/caching/ @@ -28,7 +28,7 @@ RUN npm i --production && \ FROM bougyman/voidlinux WORKDIR /app/ COPY --from=builder /app/ /app/ -RUN xbps-install -Syu tar python nodejs-lts-10 && rm -rf /var/cache/xbps && \ +RUN xbps-install -Syu tar python nodejs-lts && rm -rf /var/cache/xbps && \ ln -s /app/node_modules/ffprobe-static/bin/linux/x64/ffprobe /app/node_modules/@ffmpeg-installer/linux-x64/ffmpeg /usr/local/bin/ EXPOSE 8080 CMD ["npm", "start"]