feat: change to use Zsh

* show message from server response
* send output and error to server
This commit is contained in:
wancat committed 2023-08-08 20:38:27 +08:00
1 parent 0153eae673
commit 6204bd0b17
10 files changed
+96 -104

No files matched your search

+3 -2
View File
@@ -3,9 +3,10 @@ FROM node:latest
RUN apt-get update && apt-get install -y \
curl \
vim \
zsh \
jq
RUN adduser --disabled-password --gecos '' rudeus
RUN adduser --disabled-password --gecos '' --shell /bin/zsh rudeus
USER rudeus
@@ -15,4 +16,4 @@ COPY ./server/quests/helloworld/home /home/rudeus/
COPY ./packages/cli/cli.js /usr/local/bin/cli.js
CMD [ "/bin/bash" ]
CMD [ "/bin/zsh" ]