Skip to content

Commit

Permalink
Change base image to python
Browse files Browse the repository at this point in the history
  • Loading branch information
taskinen committed Feb 1, 2024
1 parent a7ec5f1 commit 80e606e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
FROM alpine:latest
FROM python:3.12-slim
LABEL maintainer="Timo Taskinen <[email protected]>"

RUN apk update && apk add --no-cache \
RUN apt-get update && apt-get install -y \
bash \
build-essential \
ffmpeg \
gcc \
libffi-dev \
libxml2-dev \
libxslt-dev \
make \
musl-dev \
pipx \
python3 \
python3-dev \
wget
wget \
&& rm -rf /var/lib/apt/lists/*

RUN pipx install yle-dl
RUN pipx ensurepath
RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install yle-dl

WORKDIR /out
ENTRYPOINT ["/root/.local/bin/yle-dl"]
ENTRYPOINT ["yle-dl"]

0 comments on commit 80e606e

Please sign in to comment.