-
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.
Prepare for building multiple containers
Co-authored by : Marjan Kalanaki <marjan.kalanaki@guardian.co.uk>
- Loading branch information
1 parent
82d39d6
commit f22087e
Showing
4 changed files
with
47 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:3.12-bookworm | ||
WORKDIR /opt | ||
LABEL com.theguardian.transcription-service.media-download-container="Media download container with yt-dlp, associated dependnencies 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 n $node_version | ||
|
||
COPY ./packages/media-download/dist/index.js /opt/media-download.js | ||
|
||
CMD node /opt/media-download.js |
File renamed without changes.
Empty file.