Skip to content

Commit 9c5650e

Browse files
author
Nils Bars
committed
Set PYTHONIOENCODING=UTF-8 in web container Dockerfile
uWSGI's wsgi.errors stream inherits the default ASCII encoding from the base image, causing UnicodeEncodeError when logging messages contain non-ASCII characters (e.g. the Unicode welcome banner).
1 parent 4f47637 commit 9c5650e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

webapp/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM python:3.13.1-bookworm
22

3+
ENV PYTHONIOENCODING=UTF-8
4+
35
ARG DOCKER_GROUP_ID
46

57
# Install dependencies

0 commit comments

Comments
 (0)