File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ WORKDIR /usr/src/cloudcmd
77
88COPY package.json / usr/ src/ cloudcmd/
99
10+ ENV DEBIAN_FRONTEND = noninteractive
11+
1012RUN apt- get update && apt- get upgrade && apt- get autoremove && \
1113 apt- get install - y netcat- openbsd mc iputils- ping vim neovim sudo && \
1214 npm i wisdom nupdate version- io redrun superc8 \
@@ -35,7 +37,11 @@ RUN apt-get update && apt-get upgrade && apt-get autoremove && \
3537 echo " alias buni='bun i --no-save'" >> / etc/ bash.bashrc && \
3638 echo " PS1='\0 33[01;32m\]\u @\h\[\0 33[00m\] :\[\0 33[01;34m\]\w\[\0 33[00m\]\$ '" >> / etc/ bash.bashrc && \
3739 echo " set editing-mode vi" >> / etc/ inputrc && \
38- echo " TAB: menu-complete" >> / etc/ inputrc
40+ echo " TAB: menu-complete" >> / etc/ inputrc && \
41+ echo " set UTF-8" && \
42+ apt- get install - y locales && \
43+ locale- gen en_US.UTF - 8 && \
44+ update- locale LANG = en_US.UTF - 8
3945
4046COPY . / usr/ src/ cloudcmd
4147
@@ -46,6 +52,11 @@ ENV cloudcmd_terminal_path=gritty
4652ENV cloudcmd_open= false
4753ENV PATH = node_modules/ .bin:$PATH
4854
55+ ENV LANG = en_US.UTF - 8
56+ ENV LANGUAGE = en_US:en
57+ ENV LC_ALL = en_US.UTF - 8
58+
59+
4960EXPOSE 8000
5061
5162ENTRYPOINT [" /usr/src/cloudcmd/bin/cloudcmd.js" ]
You can’t perform that action at this time.
0 commit comments