2024-06-27 15:09:00 +00:00
|
|
|
FROM python:alpine
|
|
|
|
|
|
|
|
ENV PAGERMAID_DIR=/pagermaid
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
ENV SHELL=/bin/bash
|
|
|
|
|
|
|
|
WORKDIR /pagermaid/workdir
|
|
|
|
|
|
|
|
COPY ./ /pagermaid/workdir
|
|
|
|
|
|
|
|
RUN apk add --no-cache git bash imagemagick libmagic curl tzdata neofetch libzbar figlet fortune openssl tini \
|
|
|
|
&& apk add --no-cache --update --virtual .build-deps gcc python3-dev musl-dev linux-headers \
|
|
|
|
&& git config --global pull.ff only \
|
|
|
|
&& pip install -r requirements.txt \
|
2024-06-30 13:58:59 +00:00
|
|
|
&& pip cache purge \
|
2024-06-27 15:09:00 +00:00
|
|
|
&& apk del .build-deps
|
|
|
|
|
|
|
|
ENTRYPOINT ["tini","--","bash","utils/docker-config.sh"]
|