update ytdlp on container start; cleanup gitea workflow
Some checks failed
push new builds to gitea, dockerhub / build (push) Failing after 38s
Some checks failed
push new builds to gitea, dockerhub / build (push) Failing after 38s
This commit is contained in:
16
dockerfile
16
dockerfile
@@ -4,11 +4,13 @@ WORKDIR /app
|
||||
RUN apk update && \
|
||||
apk add --no-cache build-base ffmpeg && \
|
||||
rm -rf /var/cache/apk/*
|
||||
COPY requirements.txt requirements.txt
|
||||
COPY requirements.txt .
|
||||
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|
||||
COPY youdis.py youdis.py
|
||||
COPY default-yt-dlp.conf /app/default-yt-dlp.conf
|
||||
COPY create-ytdlp-config.sh /app/create-ytdlp-config.sh
|
||||
RUN chmod 755 /app/create-ytdlp-config.sh
|
||||
ENTRYPOINT ["/app/create-ytdlp-config.sh"]
|
||||
CMD ["python3", "youdis.py"]
|
||||
|
||||
COPY youdis.py, default-yt-dlp.conf, update-ytdlp.sh run-youdis.sh /app/
|
||||
RUN chmod +x /app/update-ytdlp.sh /app/run-youdis.sh
|
||||
|
||||
COPY weekly-restart /etc/cron.d/
|
||||
RUN chmod 0644 /etc/cron.d/weekly-restart
|
||||
|
||||
ENTRYPOINT ["/app/run-youdis.sh"]
|
||||
|
||||
Reference in New Issue
Block a user