Skip to content

Commit

Permalink
Changed Dockerfile to use nodejs-lts instead of nodejs-lts-10 to fix …
Browse files Browse the repository at this point in the history
…a build issue (mayeaux#433).
  • Loading branch information
gripp authored and gripp committed Dec 29, 2021
1 parent b804a68 commit 5cde6d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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"]

0 comments on commit 5cde6d8

Please sign in to comment.