Files
linux-odyssey/server/quests/helloworld/Dockerfile
T
wancat 6204bd0b17 feat: change to use Zsh
* show message from server response
* send output and error to server
2023-08-08 20:38:27 +08:00

20 lines
316 B
Docker

FROM node:latest
RUN apt-get update && apt-get install -y \
curl \
vim \
zsh \
jq
RUN adduser --disabled-password --gecos '' --shell /bin/zsh rudeus
USER rudeus
WORKDIR /home/rudeus
COPY ./server/quests/helloworld/home /home/rudeus/
COPY ./packages/cli/cli.js /usr/local/bin/cli.js
CMD [ "/bin/zsh" ]