mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
17 lines
359 B
Docker
17 lines
359 B
Docker
FROM python:3.9
|
|
MAINTAINER Soxoj <soxoj@protonmail.com>
|
|
WORKDIR /app
|
|
RUN pip install --upgrade pip
|
|
RUN apt update && \
|
|
apt install -y \
|
|
gcc \
|
|
musl-dev \
|
|
libxml2 \
|
|
libxml2-dev \
|
|
libxslt-dev
|
|
RUN apt clean \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
|
ADD . .
|
|
RUN YARL_NO_EXTENSIONS=1 python3 -m pip install .
|
|
ENTRYPOINT ["maigret"]
|