Commit 6cbd9f84 authored by daidekun's avatar daidekun

fix chinese

parent 792af428
...@@ -27,5 +27,10 @@ WORKDIR /home/demoXterm ...@@ -27,5 +27,10 @@ WORKDIR /home/demoXterm
RUN npm install RUN npm install
RUN npm run build RUN npm run build
# 解决中文问题
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# alias # alias
RUN echo "export LANG='zh_CN.UTF-8';alias 'la=ls -al';alias rm='rm -i';alias mv='mv -i';alias grep='grep --color';alias vi='vim';alias pg='ps -ef | grep -i'" >> ~/.bashrc RUN echo "export LANG='en_US.UTF-8';alias 'la=ls -al';alias rm='rm -i';alias mv='mv -i';alias grep='grep --color';alias vi='vim';alias pg='ps -ef | grep -i'" >> ~/.bashrc
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment