File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- FROM python:buster
1+ FROM python:bullseye
22
33ENV TZ=Europe/Berlin
44RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
55
6+ # Install Cron
67RUN apt-get update \
78 && export DEBIAN_FRONTEND="noninteractive" \
89 && apt-get install -y cron \
9- && rm -rf /var/lib/apt/lists/* \
10- && git clone https://github.com/webcomics/dosage.git \
11- && cd dosage \
12- && pip install --no-cache-dir -r requirements.txt \
13- && /usr/local/bin/python setup.py install \
14- && cd / \
15- && rm -r dosage
10+ && rm -rf /var/lib/apt/lists/*
11+
12+ # Install pipx
13+ RUN python3 -m pip install --user pipx \
14+ && python3 -m pipx ensurepath
15+
16+ # Install dosage
17+ RUN pipx install "dosage[css,bash] @ git+https://github.com/webcomics/dosage.git"
1618
1719# Create dirs
1820RUN mkdir /Comics && mkdir /templates
You can’t perform that action at this time.
0 commit comments