-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from guardian/pm-media-download-infra
Support transcribing a url
- Loading branch information
Showing
29 changed files
with
1,543 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM python:3.12-bookworm | ||
WORKDIR /opt | ||
LABEL com.theguardian.transcription-service.media-download-container="Media download container with yt-dlp, associated dependencies and media download app" | ||
|
||
ARG node_version | ||
|
||
RUN pip install yt-dlp | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ffmpeg git nodejs npm | ||
RUN npm install -g n | ||
RUN echo "node version: $node_version" | ||
RUN n $node_version | ||
|
||
COPY ./packages/media-download/dist/index.js /opt/media-download.js | ||
|
||
CMD node /opt/media-download.js |
File renamed without changes.
Oops, something went wrong.