File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @e2b/code-interpreter-template ' : patch
3
+ ---
4
+
5
+ Add support for Chinese
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ENV JAVA_HOME=/opt/java/openjdk
4
4
ENV PATH="${JAVA_HOME}/bin:${PATH}"
5
5
6
6
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
7
- build-essential curl git util-linux jq sudo nodejs npm
7
+ build-essential curl git util-linux jq sudo nodejs npm fonts-noto-cjk
8
8
9
9
ENV PIP_DEFAULT_TIMEOUT=100 \
10
10
PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -46,6 +46,9 @@ COPY ./server/requirements.txt $SERVER_PATH
46
46
RUN $SERVER_PATH/.venv/bin/pip install --no-cache-dir -r $SERVER_PATH/requirements.txt
47
47
COPY ./server $SERVER_PATH
48
48
49
+ # Copy matplotlibrc
50
+ COPY matplotlibrc /root/.config/matplotlib/.matplotlibrc
51
+
49
52
# Copy Jupyter configuration
50
53
COPY ./start-up.sh $JUPYTER_CONFIG_PATH/
51
54
RUN chmod +x $JUPYTER_CONFIG_PATH/start-up.sh
Original file line number Diff line number Diff line change
1
+ font.family: sans-serif, Noto Sans CJK JP
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ COPY --from=eclipse-temurin:11-jdk $JAVA_HOME $JAVA_HOME
5
5
ENV PATH="${JAVA_HOME}/bin:${PATH}"
6
6
7
7
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
8
- build-essential curl git util-linux jq sudo nodejs npm
8
+ build-essential curl git util-linux jq sudo nodejs npm fonts-noto-cjk
9
9
10
10
ENV PIP_DEFAULT_TIMEOUT=100 \
11
11
PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -38,6 +38,9 @@ COPY ./template/server/requirements.txt $SERVER_PATH
38
38
RUN $SERVER_PATH/.venv/bin/pip install --no-cache-dir -r $SERVER_PATH/requirements.txt
39
39
COPY ./template/server $SERVER_PATH
40
40
41
+ # Copy matplotlibrc
42
+ COPY ./template/matplotlibrc /root/.config/matplotlib/matplotlibrc
43
+
41
44
# Copy Jupyter configuration
42
45
COPY ./template/start-up.sh $JUPYTER_CONFIG_PATH/
43
46
RUN chmod +x $JUPYTER_CONFIG_PATH/start-up.sh
You can’t perform that action at this time.
0 commit comments