|
|
@ -43,11 +43,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
# For presenting price amounts correctly in the restock/price detection overview
|
|
|
|
# For presenting price amounts correctly in the restock/price detection overview
|
|
|
|
locales \
|
|
|
|
locales \
|
|
|
|
# For pdftohtml
|
|
|
|
# For pdftohtml
|
|
|
|
|
|
|
|
locales \
|
|
|
|
poppler-utils \
|
|
|
|
poppler-utils \
|
|
|
|
zlib1g \
|
|
|
|
zlib1g \
|
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
|
|
|
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
|
|
|
|
|
|
@ -67,6 +67,12 @@ COPY changedetectionio /app/changedetectionio
|
|
|
|
# Starting wrapper
|
|
|
|
# Starting wrapper
|
|
|
|
COPY changedetection.py /app/changedetection.py
|
|
|
|
COPY changedetection.py /app/changedetection.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Because we now need to know more about locales due to the price-monitoring being able to format/show different numbers/currencies.
|
|
|
|
|
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
|
|
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
|
|
|
|
# Set the locale (optional)
|
|
|
|
|
|
|
|
RUN update-locale LC_ALL=en_US.UTF-8
|
|
|
|
|
|
|
|
|
|
|
|
# Github Action test purpose(test-only.yml).
|
|
|
|
# Github Action test purpose(test-only.yml).
|
|
|
|
# On production, it is effectively LOGGER_LEVEL=''.
|
|
|
|
# On production, it is effectively LOGGER_LEVEL=''.
|
|
|
|
ARG LOGGER_LEVEL=''
|
|
|
|
ARG LOGGER_LEVEL=''
|
|
|
|