Pratama commited on
Commit
6243cb1
·
verified ·
1 Parent(s): db206b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -7,9 +7,15 @@ ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1
7
  # Specify work directory
8
  WORKDIR /app
9
 
10
- # Clone repo with authentication
 
 
 
 
 
 
11
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
12
- git clone $(cat /run/secrets/GITHUB_REPO) .
13
 
14
  # Install dependencies
15
  RUN npm install
 
7
  # Specify work directory
8
  WORKDIR /app
9
 
10
+ # Install FFmpeg
11
+ RUN apt-get update && apt-get install -y ffmpeg
12
+
13
+ # Force no cache with build arg
14
+ ARG CACHEBUST=1
15
+
16
+ # Clone repo with authentication, shallow clone
17
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
18
+ git clone --depth=1 $(cat /run/secrets/GITHUB_REPO) .
19
 
20
  # Install dependencies
21
  RUN npm install