Skip to content

Commit 502e8d6

Browse files
Nils Barsnbars
authored andcommitted
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 55496b7 commit 502e8d6

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)