Compare commits

...

3 Commits

2 changed files with 7 additions and 2 deletions

View File

@@ -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
locales \
# For pdftohtml
locales \
poppler-utils \
zlib1g \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
ENV PYTHONUNBUFFERED=1
@@ -67,6 +67,10 @@ COPY changedetectionio /app/changedetectionio
# Starting wrapper
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
# Github Action test purpose(test-only.yml).
# On production, it is effectively LOGGER_LEVEL=''.
ARG LOGGER_LEVEL=''

View File

@@ -9,7 +9,8 @@ services:
# Configurable proxy list support, see https://github.com/dgtlmoon/changedetection.io/wiki/Proxy-configuration#proxy-list-support
# - ./proxies.json:/datastore/proxies.json
# environment:
environment:
- LC_ALL=en_US.UTF-8
# Default listening port, can also be changed with the -p option
# - PORT=5000