Make web interface accessible for Docker deployment by default (#2189)

This commit is contained in:
Soxoj
2025-08-31 16:14:42 +02:00
committed by GitHub
parent 7f94e86259
commit 48ca13dc4d
3 changed files with 16 additions and 4 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.11-slim
LABEL maintainer="Soxoj <soxoj@protonmail.com>"
WORKDIR /app
RUN pip install --no-cache-dir --upgrade pip
@@ -13,4 +13,6 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* /tmp/*
COPY . .
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
ENV FLASK_HOST=0.0.0.0
ENTRYPOINT ["maigret"]