ilhamdev commited on
Commit
41816e7
·
verified ·
1 Parent(s): 1d40071

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -5
Dockerfile CHANGED
@@ -1,11 +1,14 @@
1
  FROM node:latest
2
 
3
  RUN apt-get update && \
4
- apt-get install -y software-properties-common && \
5
- add-apt-repository multiverse && \
6
- add-apt-repository non-free && \
7
- apt-get update && \
8
- apt-get install -y ffmpeg && \
 
 
 
9
  rm -rf /var/lib/apt/lists/*
10
 
11
  WORKDIR /app
 
1
  FROM node:latest
2
 
3
  RUN apt-get update && \
4
+ apt-get install -y curl && \
5
+ curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
6
+ tar -xf ffmpeg.tar.xz && \
7
+ rm ffmpeg.tar.xz && \
8
+ mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \
9
+ rm -rf ffmpeg-*-static && \
10
+ apt-get remove -y curl && \
11
+ apt-get clean && \
12
  rm -rf /var/lib/apt/lists/*
13
 
14
  WORKDIR /app