File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ENV JAVA_HOME=/opt/java/openjdk
44ENV PATH="${JAVA_HOME}/bin:${PATH}"
55
66RUN 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
88
99ENV PIP_DEFAULT_TIMEOUT=100 \
1010 PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -46,6 +46,9 @@ COPY ./server/requirements.txt $SERVER_PATH
4646RUN $SERVER_PATH/.venv/bin/pip install --no-cache-dir -r $SERVER_PATH/requirements.txt
4747COPY ./server $SERVER_PATH
4848
49+ # Copy matplotlibrc
50+ COPY matplotlibrc /root/.config/matplotlib/.matplotlibrc
51+
4952# Copy Jupyter configuration
5053COPY ./start-up.sh $JUPYTER_CONFIG_PATH/
5154RUN 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
55ENV PATH="${JAVA_HOME}/bin:${PATH}"
66
77RUN 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
99
1010ENV PIP_DEFAULT_TIMEOUT=100 \
1111 PIP_DISABLE_PIP_VERSION_CHECK=1 \
@@ -38,6 +38,9 @@ COPY ./template/server/requirements.txt $SERVER_PATH
3838RUN $SERVER_PATH/.venv/bin/pip install --no-cache-dir -r $SERVER_PATH/requirements.txt
3939COPY ./template/server $SERVER_PATH
4040
41+ # Copy matplotlibrc
42+ COPY ./template/matplotlibrc /root/.config/matplotlib/matplotlibrc
43+
4144# Copy Jupyter configuration
4245COPY ./template/start-up.sh $JUPYTER_CONFIG_PATH/
4346RUN chmod +x $JUPYTER_CONFIG_PATH/start-up.sh
You can’t perform that action at this time.
0 commit comments