Commit f5edad62 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

WIP #102 attempt to fix UnicodeEncodeError

parent 04215173
......@@ -16,8 +16,18 @@ RUN apt-get update && \
apache2-dev \
apache2-utils \
python3-dev \
locales \
&& rm -rf /var/lib/apt/lists/*
# enabling en_US.UTF-8 to avoid encoding issue on file upload
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN a2enmod \
rewrite \
expires \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment