| .. | .. |
|---|
| 21 | 21 | COPY app/ ./app/ |
|---|
| 22 | 22 | COPY static/ ./static/ |
|---|
| 23 | 23 | |
|---|
| 24 | | - |
|---|
| 25 | | -# Ensure locale support for π in paths |
|---|
| 26 | | -RUN apt-get update && apt-get install -y --no-install-recommends locales && \ |
|---|
| 24 | +# Locale support for paths with special chars + libexpat for host venv compatibility |
|---|
| 25 | +RUN apt-get update && \ |
|---|
| 26 | + apt-get install -y --no-install-recommends locales libexpat1 && \ |
|---|
| 27 | 27 | echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen && \ |
|---|
| 28 | 28 | rm -rf /var/lib/apt/lists/* |
|---|
| 29 | 29 | ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 |
|---|