Pommsn commited on
Commit
033307e
·
verified ·
1 Parent(s): e674cd5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -5,9 +5,12 @@ FROM langgenius/dify-api:1.11.2
5
 
6
  USER root
7
 
8
- # Install only Nginx (minimal)
9
- RUN apt-get update && apt-get install -y --no-install-recommends nginx \
10
- && rm -rf /var/lib/apt/lists/*
 
 
 
11
 
12
  # Copy pre-built web
13
  COPY --from=web /app/web /app/web
 
5
 
6
  USER root
7
 
8
+ # Install Nginx and Locales
9
+ RUN apt-get update && apt-get install -y --no-install-recommends nginx locales \
10
+ && rm -rf /var/lib/apt/lists/* \
11
+ && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
12
+
13
+ ENV LANG=en_US.UTF-8
14
 
15
  # Copy pre-built web
16
  COPY --from=web /app/web /app/web