mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 14:08:59 +00:00
Dockerfile fix (#2290)
This commit is contained in:
+6
-6
@@ -4,13 +4,13 @@ WORKDIR /app
|
|||||||
RUN pip install --no-cache-dir --upgrade pip
|
RUN pip install --no-cache-dir --upgrade pip
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
gcc \
|
build-essential \
|
||||||
musl-dev \
|
python3-dev \
|
||||||
libxml2 \
|
pkg-config \
|
||||||
|
libcairo2-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libxslt-dev \
|
libxslt1-dev \
|
||||||
&& \
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/*
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN YARL_NO_EXTENSIONS=1 python3 -m pip install --no-cache-dir .
|
RUN YARL_NO_EXTENSIONS=1 python3 -m pip install --no-cache-dir .
|
||||||
# For production use, set FLASK_HOST to a specific IP address for security
|
# For production use, set FLASK_HOST to a specific IP address for security
|
||||||
|
|||||||
Reference in New Issue
Block a user