From 2910754dd0bd04769995c7cd3be2ea9d85cac72b Mon Sep 17 00:00:00 2001 From: Joris Bertomeu Date: Wed, 2 Oct 2024 17:22:57 +0200 Subject: [PATCH] Add mkvtoolnix to Dockerfile --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed10268..0e11540 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,7 @@ WORKDIR /app COPY package*.json ./ -RUN npm install --production - -RUN npm install -g pm2 +RUN apt update && apt install -y apt-transport-https RUN wget -O /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.download/gpg-pub-moritzbunkus.gpg \ && echo "deb [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/debian/ bookworm main" > /etc/apt/sources.list.d/mkvtoolnix.download.list \ @@ -14,6 +12,10 @@ RUN wget -O /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.down RUN apt update && apt install -y mkvtoolnix +RUN npm install --production + +RUN npm install -g pm2 + COPY . . EXPOSE 3000